/*
Theme Name: BelieversChurchCustom
Theme URI: http://underscores.me/
Author: Believers Church
Author URI: http://believerschurch.com
Description: Custom theme for Believers Church
Version: 1.004-wpcom
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bc-custom
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 BelieversChurchCustom is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
body {
  background: white;
  font-family: "Lora", serif;
  color: #222;
}

/* Basic Content Styles */

h1 {
  color:#34495E;
  font-size: 2.3em;
  line-height: 1.4;
  margin-bottom: 0.2em;
}

h1 > a {
  color:#34495E;
}

h1 > p {
  margin: 0;
}

h1.small {
  font-size: 1.7em;
  margin-bottom: 0.4em;
}

h2 {
  font-family: "Source Sans Pro", sans-serif;
  color: #59A0CF;
  font-size: 2.2em;
  font-weight: 400;
  margin-bottom: 0.3em;
  line-height: 1.3;
}

h3 {
  font-family: "Source Sans Pro", sans-serif;
  color: #59A0CF;
  font-size: 2em;
  font-weight: 400;
  margin-bottom: 0.3em;
  line-height: 1.3;
}

h4 {
  font-family: "Source Sans Pro", sans-serif;
  color: #59A0CF;
  font-size: 1.6em;
  font-weight: 400;
  margin-bottom: 0.3em;
  margin-top: 0.6em;
  line-height: 1.3;
}

p {
  line-height: 1.6;
  margin-top: 0;
}

ol {
  line-height: 1.6;
}

ul {
  line-height: 1.6;
}

.columns h4:first-child {
  margin-top: 0.1em;
}


a {
  text-decoration: none;
  color: #59A0CF;
}

a:hover {
  opacity: 0.8;
}

.meta-date {
  font-style: italic;
  font-size: 1.3em;
  color: #aaa;
  margin-bottom: 15px;
  margin-top: 10px;
}

.meta-date.small {
  font-size: 0.9em;
  margin: 3px 0;
}

img + p {
  margin-top: 15px;
}

.wp-caption-text {
  font-style: italic;
  font-size: 0.9em;
  color: #616161;
  margin-top: 0.5em;
}

body div .light-blue {
  color: #77C5F9;
}

.pad-top {
  padding-top: 10px;
}

.pad-top2 {
  padding-top: 20px;
}


/* Story Links */

div.columns .row.story-link-row {
  border-bottom: 1px solid #ccc;
  padding: 18px 0;
  margin-left: 0;
  margin-right: 0;
  line-height: 1.6;
  position: relative;
}

div.columns .row.story-link-row.homepage {
  border-bottom: none;
  border-top: 1px solid #ccc;
}

.story-link-row:last-of-type {
  border-bottom: 0;
}

a.story-link {
  min-height: 120px;
  display: block;
}

.story-link .story-header {
  font-style: italic;
  color: #59A0CF;
  display: block;
  font-size: 1.2em;
}

.story-link .image-box {
  padding: 0;
  height: 120px;
  background-size: cover;
  background-position: top center;
}

a.story-link:hover img {
  opacity: 0.8;
}

.story-link .meta-date {
  font-size: 1em;
}

.story-link .text-box {
  padding-top: 10px;
}

.more-link-box {
  padding-left: 0;
  padding-top: 10px;
}

/* Removed by Blesson because its clashing with <article> of wordpress. If there is any break anywhere due to its absence, work around a better solution.
article {
  border-bottom: 1px solid #ccc;
  padding-top: 10px;
  position: relative;
}
*/


/* UTILITY CLASSES */
body div .nopadding {
  padding: 0;
}

.relative {
  position: relative;
}

body div .no-bottom {
  margin-bottom: 0;
  padding-bottom: 0;
}

.strong {
  font-weight: 600;
}

.italic {
  font-style: italic;
}

.smaller {
  font-size: 0.85em;
}

.block {
  display: block;
}

.center {
  text-align: center;
}

.append-top {
  margin-top: 10px;
}

.relative {
  position: relative;
}

/* NAV BAR */
#navbar-wrapper {
  background: #34495E;
  line-height: 1.6;
}

#navbar {
  padding: 0;
  font-family: 'Source Sans Pro', sans-serif;
}

#navbar a:hover {
  opacity: 1;
}

#toplink {
  margin-top: 5px;
  margin-bottom: 5px;
  display: block;
  position: relative;
}

#toplink span.diocese {
  position: absolute;
  left: 53px;
  bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  color: #D2D7DB;
  line-height: 1.6;
}

a#toplink:hover {
  opacity: 0.8;
}

#menubutton {
  display: none;
}

.nav-links li {
  list-style-type: none;
  display: block;
  float: right;
  margin: 0;
}

.nav-links a {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  color: #77C5F9;
  text-decoration: none;
}

.nav-links a.selected,
.nav-links a:hover {
  background: #3E566F;
}

ul#desktop-nav {
  text-align: right;
  padding-top: 0;
  margin: 0;
}

#desktop-nav a {
  font-size: 17px;
  padding: 29px 11px;
  display: inline-block;
}

#desktop-nav a.has-menu:after {
  font-family: 'FontAwesome';
  content: "\f0dd";
  color: #5A91B7;
  margin-left: 5px;
  position: relative;
  top: -3px;
}

/* MEGA MEGA MENU */

#mega-menu-box {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 1.6;
}

.mega-menu {
  color: white;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: -1;
  opacity: 0;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  transition: 0.2s;
}

.mega-menu.shown {
  z-index: 75;
  opacity: 1;
}

.mega-menu .row {
  background: #586C80;
  padding: 0 7px;
}

.mega-menu .row:first-child {
  padding-top: 10px;
  border-top: 2px solid rgba(0,0,0,0.1);
}

.mega-menu .row:last-child {
  padding-bottom: 10px;
  border-bottom: 3px solid #34495E;
}

.mega-menu h2 {
  color: white;
  font-family: "Lora", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.7em;
  margin: 5px 0 8px;
  padding-left: 15px;
}

.mega-menu h3 {
  color: #88B5E6;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid #7C96B1;
  padding-bottom: 4px;
  font-size: 16px;
  margin-top: 0;
}

.mega-menu ul {
  padding: 0;
  margin-top: 0;
}

.mega-menu li {
  list-style-type: none;
  margin-bottom: 3px;
}

.mega-menu li a {
  color: white;
  text-decoration: none;
  font-size: 1em;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
}

.mega-menu li a:hover {
}

/* Mobile Menu */

#mobile-menu-wrapper {
  display: none;

  overflow: hidden;
}

#mobile-menu {
  background: #223140;
  width: 100%;
  box-shadow: inset 0px -1px 4px rgba(0,0,0,0.4);
}

#mobile-menu ul {
  margin: 0;
  padding: 10px 0px;
}

#mobile-menu ul li {
  list-style-type: none;
}

#mobile-menu li a {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  color: #77C5F9;
  text-decoration: none;
  font-size: 1.4em;
  display: block;
  padding: 5px 15px;
}

/* Breadcrumbs -- please clean up after yourself! */
#breadcrumb-wrapper {
  background: #E1E4E7;
  padding: 4px 0px;
}

#breadcrumbs {
  font-family: "Source Sans Pro", sans-serif;
  color: #6a6a6a;
  font-size: 1em;
  font-weight: 400;
  padding-top: 4px;
  line-height: 1.6;
}

#breadcrumbs a {
  text-decoration: none;
  color: #6a6a6a;
}

#breadcrumbs .bread_arrow {
  padding: 0 4px;
}

#breadcrumbs .current_page {
  color: #222;
  max-width: 350px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* Share Box */
.share-box {
  color: black;
  font-family: "Source Sans Pro", sans-serif;
  text-align: right;
}

.share-box .share-text {
  position: relative;
  top: -5px;
  font-weight: 600;
}

.share-box a {
  padding: 0 4px;
}

.facebook-link {
  color: #3B579D;
}

.twitter-link {
  color: #55ACEE;
}

.gplus-link {
  color: #DD4B39;
}

.youtube-link {
  color: #cd201f;
}

.blog-link {
  color: #16A085;
}

/* Action Bar */
.action-bar a.button {
  margin-top: 0;
  margin-right: 10px;
}

.action-bar .share-box {
  position: relative;
  top: 4px;
  margin-right: 5px;
}

/* Sidebar: Story Thumbs */

.sticky-sidebar {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.sticky-sidebar.sticking > * {
  margin-left: 20px;
}

.story-thumb {
  max-width: 250px;
  margin-top: 15px;
  margin-bottom: 25px;
  display: block;
}

.story-thumb .story-image {
  width: 100%;
  height: 110px;
  background-size: cover;
  background-position: center;
}

.story-thumb .story-caption {
  margin-top: 5px;
  display: block;
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
}

/* Footer */

.footer-wrapper {
  background: #34495E;
  color: white;
  font-family: "Source Sans Pro", sans-serif;
}

.footer a {
  color: #77C5F9;
  font-size: 90%;
}

.row.footer {
  padding: 10px 0;
  margin-top: 15px;
  line-height: 1.6;
  text-align: center;
  font-size: 1.2em;
  padding-top: 10px;
}

.footer ul {
  display: inline;
  list-style-type: none;
  color: #77C5F9;
  padding-left: 0;
}

.footer ul li:first-child {
  padding-left: 0;
}

.footer ul li {
  display: inline;
  padding: 0 20px;
}

.footer .logo-links {
  border-top: 1px solid #4B718A;
  padding-top: 15px;
  max-width: 840px;
  margin: 15px auto;
}

.footer .logo {
  margin-right: 10px;
}

.footer .app-link {
  margin: 0 3px;
}

.footer .logo-box {
  display: inline;
}

.footer .logo-box.ayradio {
  margin-left: 40px;
}


/* Page Content Styles */
.cover-image {
  height: 350px;
  background-size: cover;
  background-position: top center;
}

.arrow-link {
  font-style: italic;
  color: #59A0CF;
  text-decoration: none;
}

.arrow-link:after {
  content:"\00BB";
  padding-left: 0.3em;
  position: relative;
  left: 0;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  transition: 0.4s;
}

a.arrow-link:hover:after,
.arrow-link:hover:after {
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  transition: 0.4s;
  left: 0.2em;
}

.text-shim {
  background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.72))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.72) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.72) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.72) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.72) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#9e000000',GradientType=0 ); /* IE6-9 */
}

.text-shim a:hover {
  opacity: 1;
}

.facts-text p {
  margin: 0;
  line-height: 1;
}

blockquote {
  font-size: 1.2em;
  color: #6a6a6a;
  font-style: italic;
  line-height: 1.7;
}

a.social span.link-text {
  margin-left: 5px;
  position: relative;
  top: -8px;
}

.icon-link {
  display: block;
  padding-left: 28px;
  position: relative;
  margin-top: 5px;
}

.icon-link .fa {
  position: absolute;
  left: 0px;
  top: 5px;
}

hr {
  border: 0;
  border-bottom: 1px solid #ccc;
}

.padding5 {
  margin: 0;
  padding: 5px 5px;
}

a.square-photo-link {
  display: block;
  min-height: 100px;
}

a.square-photo-link img {
  width: 35%;
  float: left;
  margin-right: 10px;
}

a.square-photo-link span.text-link {
  display: block;
  font-size: 1.2em;
  line-height: 1.6;
  padding-left: 10px;
  font-style: italic;
  padding-top: 15px;
}

/* Home page Styles */
.lte-ie8 #cathedral-cover {
  background-image:url(https://www.bechurch.ca/wp-content/uploads/2019/08/DSC2140_desktop_small.jpg);
  background-position: center;
}

#cathedral-cover .white-header-text {
  font-weight: bold;
  color: white;
  font-size: 1.7em;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 14px;
  text-shadow: 0px 2px 3px rgba(0,0,0,0.4);
}

#cathedral-cover .text-box {
  max-width: 1000px;
  margin: 0 auto;
}

.three-links .columns {
  padding: 8px 6px;
}

.three-links .link-image-caption {
  padding-top: 5px;
  display: block;
  text-align: center;
  color: #222;
  line-height: 1.6;
}

.three-links .arrow-link {
  display: block;
  color: #59A0CF;
  text-align: center;
}

.more-info .columns {
  padding: 6px;
}

.more-info a.info-box{
  display: block;
  background-size: cover;
  font-style: italic;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 1.4em;
  background-position: center;
}

.lte-ie8 #info-statement-of-faith {
  background-image:url(images/info-statement-of-faith.jpg);
}

.lte-ie8 #info-parishes {
  background-image:url(images/info-parishes.jpg);
}

#info-religious-order {
  background-image:url(/wp-content/uploads/2020/07/DSC5514_messages.jpg);
}

#info-message-blog {
	background-image:url(wp-content/uploads/2020/07/DSC5514_messages.jpg);
}

#info-outreach {
  background-image:url(images/info-outreach.jpg);
}


#info-photo-gallery {
  background-image:url(images/info-photo-gallery.jpg);
}

#info-boh {
  background-image:url(images/info-boh.jpg);
}

#info-clean-water{
  background-image:url(images/info-clean-water.jpg);
}

#info-podcasts {
  background-image:url(images/info-podcasts.jpg);
}

#info-adult-literacy {
  background-image:url(images/info-adult-literacy.jpg);
}

#info-poverty-alleviation {
  background-image:url(images/info-poverty-alleviation.jpg);
}

.centered-verse {
  text-align: center;
  font-size: 1.3em;
  font-style: italic;
  color: #444;
  margin: 20px 10px;
}

.centered-verse .ref {
  display: block;
  color: #777;
  margin-top: 10px;
}

.row.insti-links {
  border-top: 1px solid #ccc;
  padding-top: 10px;
  padding-bottom: 10px;
}

.row.insti-links .columns {
  padding: 8px 0.8em;
  min-height: 65px;
}

/* Main News Page */
.news-featured h2 {
  margin-top: 20px;
}

.main-image-box {
  margin-top: 25px;
  position: relative;
}

.featured-tag-link {
  display: block;
  padding: 12px;
  background: #CCE2F0;
  font-family: "Lora", serif;
  font-weight: 600;
  font-style: italic;
  color: #34495E;
  font-size: 1.2em;
  text-align: center;
  margin-top: 15px;
}

a.featured-tag-link:hover {
  color: white;
  background: #34495E;
  opacity: 1;
}

.diocese-link {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  position: absolute;
  bottom: 5px;
  left: 5px;
  padding: 5px 8px;
  background: #77C5F9;
  color: white;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.diocese-link.bottom-left {
  position: relative;
  top: -22px;
  left: 5px;
  font-size: 12px;
  padding: 4px 6px;
}

a.diocese-link:hover {
  opacity: 1;
  background: #59A0CF;
}

.slider-image-box .diocese-link {
  z-index: 30;
  left: 35px;
  bottom: 11px;
}

.row .row.excerpt-link {
  margin-top: 15px;
}

.excerpt-link h4 {
  margin-top: 0;
  margin-bottom: 0;
}

.excerpt-link .image-box {
  padding-top: 5px;
}

.small-story-link-box {
  position: relative;
  padding-top: 17px;
  margin-bottom: 20px;
}

.small-story-link-box a.diocese-link {
  font-size: 12px;
  padding: 3px 5px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  position: absolute;
  left: 0px;
  top: 0px;

  display: none;
}

.small-story-link {
  display: block;
  position: relative;
  line-height: 1.4;
  font-size: 0.9em;
  min-height: 70px;
}

.small-story-link .image-box {
  display: block;
  height: 70px;
  width: 70px;
  background-size: cover;
  background-position: center;
  position: absolute;
  left: 0;
  top: 0;
}

.small-story-link .link-text {
  padding-left: 80px;
  color: #222;
  display: block;
}

.small-story-link .article-meta{
  padding-left: 80px;
  color: #aaa;
  display: block;
  font-size: 13px;
  margin-top: 5px;
  font-style: italic;
}

.slider-container {
  width: 100%;
  height: 610px;
  overflow: hidden;
  position: relative;
  padding: 30px 0;
}

.slider-container .arrow {
  display: block;
  width: 68px;
  height: 68px;
  position: absolute;
  top: 220px;
  color: white;
  z-index: 50;
  text-align: center;
  -webkit-transition: 0.8s;
  -moz-transition: 0.8s;
  transition: 0.8s;
}

.slider-container .right-arrow {
  right: 100px;
}

.slider-container .left-arrow {
  left: 100px;
}

.slider-container .right-arrow.hidden {
  right: -70px;
}

.slider-container .left-arrow.hidden {
  left: -70px;
}


.slider {
  -webkit-transition: 0.8s;
  -moz-transition: 0.8s;
  transition: 0.8s;
  position: relative;
}

.slider-container .slider-image-box {
  width: 600px;
  height: 550px;
  float: left;
  position: relative;
  text-align: center;
  opacity: 0.4;
  -webkit-transition: 0.8s;
  -moz-transition: 0.8s;
  transition: 0.8s;
}

.slider-container .slider-image-box.selected {
  opacity: 1;
}

.slider .slider-image-box img {
  border: 5px solid white;
  max-height: 480px;
  width: auto;
  position: relative;
  z-index: 10;
}

.slider-container .slider-caption {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.2em;
  text-align: center;
  color: white;
  display: block;
  margin-top: 15px;
  position: relative;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
  padding: 0 25px;
  font-style: normal;
  top: -70px;
  z-index: 5;
  line-height: 1.5;
  opacity: 0;
}

.slider-image-box.selected .slider-caption {
  top: 0;
  opacity: 1;
}

.slider-image-box .meta-date {
  color: #90A1AC;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1em;
  position: absolute;
  top: -25px;
  font-style: normal;
  margin: 0;
}

.expandable {
  height: 0;
  overflow: hidden;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}


/* News Listing Page */
a.news-project-link {
  position: absolute;
  top: 10;
  width: 43%;
  left: 107%;
  display: block;
  color: white;
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
  background-repeat:no-repeat;
  background-size: 100%;
  padding: 30px 15px;
}

a.news-project-link:before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 0 25px 25px;
  border-color: transparent transparent transparent #ddd;
  left: -45px;
  top: 39px;
}

article a.news-project-link {
  bottom: auto;
}

article:first-of-type a.news-project-link {
  display: none;
}

/* Article */
article h3 {
  margin-top: 0.3em;
}

figure {
  margin-left: 0;
  margin-right: 0;
}

#reply-box {
  height: 0;
  overflow: hidden;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  transition: 0.4s;
  font-size: 0.9em;
}

#comments h4.comments-title {
  margin-bottom: 11px;
}

#comments p {
  line-height: 1.5;
  margin: 5px 0;
}

#comments .comment-body {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

#comments .comment-metadata {
  padding: 5px 0;
  font-size: 0.8em;
  display: inline;
}

#comments .comment-metadata a {
  color: #aaa;
}

#comments .comment-author {
  display: inline;
  padding-right: 10px;
}

#comments span.says {
  display: none;
}

#comments .comment-body div.reply {
  display: none;
}

#comments #reply-title {
  margin-top: 5px;
}

/* Photo wall */
.photowall-wrapper {
  background: rgb(65,92,118); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(65,92,118,1) 0%, rgba(18,34,44,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(65,92,118,1)), color-stop(100%,rgba(18,34,44,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(65,92,118,1) 0%,rgba(18,34,44,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(65,92,118,1) 0%,rgba(18,34,44,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(65,92,118,1) 0%,rgba(18,34,44,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(65,92,118,1) 0%,rgba(18,34,44,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#415c76', endColorstr='#12222c',GradientType=0 ); /* IE6-9 */

  padding-bottom: 30px;
  margin: 20px 0;
}

.photowall-wrapper h2 {
  color: white;
  font-weight: 300;
  font-size: 3em;
  margin-top: 20px;
}

.wall-images .columns {
  padding: 10px;
}

a.wall-image {
  display: block;
  width: 100%;
  height: 120px;
  background-size: cover;

}

a.wall-image:hover {
  opacity: 1;
}

a.wall-image span.wall-image-text {
  background: rgba(0,0,0,0.7);
  display: block;
  width: 100%;
  height: 100%;
  color: white;
  padding: 10px;
  opacity: 0;
  font-size: 0.9em;
  line-height: 1.5;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

a.wall-image:hover span.wall-image-text {
  opacity: 1;
}

/* Banner Images */
.full-width-banner {
  background-position: top center;
  background-size: cover;
  height: 360px;
  margin: 30px 0;
}

.full-width-banner h1 {
  color: white;
  font-size: 3.0em;
  margin-top: 265px;
  text-shadow: 0px 2px 6px rgba(0,0,0,0.4);
}

.bible-banner {
  background-image:url(images/about-bible-banner.jpg);
}

.church-emblem-banner {
  background-image:url(images/about-church-emblem.jpg);
}

.dept-wf-banner {
  background-image:url(images/dept-wf.jpg);
}

.dept-ss-banner {
  background-image:url(images/dept-ss.jpg);
}

.dept-yf-banner {
  background-image:url(images/dept-yf.jpg);
}

/* Blesson's code below this point*/
.serving-God-image{
  background-image:url(images/about-banner.jpg);
  background-position: top center;
  height: 342px;
  background-size: cover;
}

.serving-humanity-image{
  background-image:url(images/serving-humanity-boh.jpg);
  background-position: top center;
  height: 342px;
  background-size: cover;
}

.WF-Dept-image{
  background-image:url(images/bc-about-wf.jpg);
  background-position: center;
  height: 342px;
  background-size: cover;
}

.SS-Youth-Dept-image{
  background-image:url(images/bc-about-ss.jpg);
  background-position: top center;
  height: 342px;
  background-size: cover;
}

.SOC-Dept-image{
  background-image:url(images/bc-about-soc.jpg);
  background-position: top center;
  height: 342px;
  background-size: cover;
}

.core-values-image{
  background-image:url(images/core-values.jpg);
  background-position: top center;
  height: 342px;
  background-size: cover;
}

.sof-image{
  background-image:url(images/bc-about-sof.jpg);
  background-position: top center;
  height: 342px;
  background-size: cover;
}

.vertical-line {
    border-left: 1px solid #d3d3d3;
}

.about-box{
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding-left: 15px;
  line-height:2.5;
}

.stats-num {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 3.5em;
  font-weight: bold;
  color: #59A0CF;
  margin-bottom: 15px;
  line-height: 1;
}

.stats-num.large {
  font-size: 4em;
}

.stats-text {
  font-size: 21px;
  margin-top: 5px;
  margin-bottom: 0px;
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
  display: block;
  color: #777;
}


.bishops-name{
  font-size: 15px;
  color: #000;
  margin-top: 5px;
}

.button-c2a{
  background-color: #59A0CF;
  font-size: 1.05rem;
  padding-top: 0.5rem;
  padding-right: 2.2rem;
  padding-bottom: 0.5rem;
  padding-left: 2.2rem;
  border: 0;
  color: white;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-weight: normal;
  transition: background-color 200ms ease-out;
  border-radius: 6px;
  border-color: #B6E0FC;
}

.button-c2a.large {
  font-size: 1.5em;
  border-radius: 8px;
  padding: 0.6rem 2.5rem;
  margin: 10px;
}

.centered-button {
  text-align: center;
  min-height: 80px;
  padding: 15px 0;
}

.tab-only{
  display: none !important;
}

.mobile-only{
  display: none !important;
}

.bishops-wrap{
  text-align:center;
  padding-bottom: 25px;
}

#bc-about-boh {
  background-image:url(images/bc-about-boh.jpg);
}

#bc-about-adult-literacy {
  background-image:url(images/bc-about-adult-literacy.jpg);
}

#bc-about-clean-water {
  background-image:url(images/bc-about-clean-water.jpg);
}

#bc-about-poverty-alleviation {
  background-image:url(images/bc-about-poverty-alleviation.jpg);
}

#bc-about-disaster-relief {
  background-image:url(images/info-disaster.jpg);
}

#bc-about-medical-care {
  background-image:url(images/info-medical.jpg);
}

.dept-news-image-box{
  max-height: 100%;
  max-width: 100%;
  width: 240px;
  height: 100px;
}

.mission-box-container {
  background-image:url(images/our_mission.jpg);
  background-size: cover;
  background-position: center top;
}

.mission-box {
  font-size: 22px;
  color: #fff;
  padding: 20px 20px 3px 20px;
  line-height: 1.8;
  font-style: italic;
  padding-bottom: 40px;
}

.emblem-position{
  padding-top: 10px;
}

.dept-stats1{
  text-align: left;
  padding-top: 40px;
  padding-left: 60px;
}

/* Pagination */
.wp-pagenavi {
  text-align: center;
}

.wp-pagenavi .pages {
  padding-right: 10px;
  font-weight: bold;
}

.wp-pagenavi a,
.wp-pagenavi span.current {
  margin: 0 5px;
  padding: 3px 5px;
  border-radius: 2px;
}

.wp-pagenavi a:hover {
  background: #CCE2F0;
  color: #34495E;
}

.wp-pagenavi span.current {
  font-weight: bold;
}

.wp-pagenavi .smaller {
  font-size: 1.0em;
}

/* Secondary Menu, on mobile only*/
.submenu {
  background: #566575;
  text-align: left;
  display: none;
}

ul.secondary-nav  {
  padding-left: 0px;
  font-family: 'Source Sans Pro', sans-serif;
  border-top: 1px solid #5C86A9;
  margin-top: 0;
  padding-top: 12px;
}

.secondary-nav li {
  display: inline;
  list-style-type: none;
  padding: 5px 20px;
  font-size: 16px;
}

.secondary-nav li.current-menu-item {
  border-radius: 6px;
}

.submenu .secondary-nav a {
  color: white;
  text-decoration: none;
  padding: 5px 2px;
  display: inline-block;
}

.submenu .secondary-nav li.current-menu-item a {
  color:#fff;
}

.secondary-nav a:hover{
  color: #77C5F9;
  text-decoration:none;
}

.Clean-Water-Proj-image{
  background-image:url(images/clean-water-banner.jpg);
  background-position: center;
  height: 342px;
  background-size: cover;
}

.Poverty-Alleviation-Proj-image{
  background-image:url(images/bc-poverty-alleviation.jpg);
  background-position: center;
  height: 342px;
  background-size: cover;
}

.Sanitation-Proj-image{
  background-image:url(images/bc-sanitation-banner.jpg);
  background-position: center;
  height: 342px;
  background-size: cover;
}

.Bridge-of-Hope-Proj-image{
  background-image:url(images/bridge-of-hope-banner.jpg);
  background-position: center;
  height: 342px;
  background-size: cover;
}

#boh-cover {
  background-image:url(images/bridge-of-hope-banner.jpg);
  background-position: center;
}

#boh-cover .white-header-text {
  font-weight: bold;
  color: white;
  font-size: 2em;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding-top: 30px;
  text-shadow: 0px 2px 3px rgba(0,0,0,0.4);
}

#boh-cover .text-box {
  max-width: 1000px;
  margin: 0 auto;
}


.SOC-Proj-image{
  background-image:url(images/sisters-of-compassion-banner.jpg);
  background-position: center;
  height: 342px;
  background-size: cover;
}

.proj-story-image{
  width: 600px;
  height: 320px;
  background-size: cover;
  background-position: top center;
}

.proj-banner-text{
  font-weight: 600;
  color: white;
  font-size: 40px;
  text-align: center;
  padding-top: 75px;
  text-shadow: 0px 2px 3px rgba(0,0,0,0.4);
  margin-top: 0px;
}

.proj-banner-num{
  text-align: center;
  font-size: 80px;
  margin-top: 0px;
  font-weight: bold;
  margin-bottom: 0px;
}

.proj-banner-subtext{
  margin-top: 0px;
  width: 202px;
  text-align: center;
  color: white;
  margin-left: auto;
  margin-right: auto;
  font-size: 22px;
}

.proj-banner-subtext1{
  width: 218px;
}

.proj-banner-link{
  text-align: center;
  font-style: italic;
  font-size: 22px;
  margin-top: 23px;
}

.project-sub-image {
  border-radius: 50%;
}

.proj-impact h2 {
  margin-top: 10px;
  margin-bottom: 6px;
}

.proj-impact .full-image {
  margin-top: 20px;
}

.proj-sidebar{
  padding-left: 60px;
}

.proj-mid-grids{
  text-align: center;
  font-size: 14px;
}

.proj-mid-grids-margin{
  margin-top: 30px;
  text-align: center;
}

.related ul.products li.product img, .related ul li.product img, .upsells.products ul.products li.product img, .upsells.products ul li.product img {
  width: auto !important;
  height: auto !important;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
  text-align: left !important;
}

.woocommerce .cart-collaterals .cross-sells ul.products li, .woocommerce-page .cart-collaterals .cross-sells ul.products li {
  width: 25% !important;
}

.photowall-wrapper {
  margin-bottom: -15px !important;
}

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce #content input.button, .woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button, .woocommerce-page #respond input#submit, .woocommerce-page #content input.button {
  background: #59A0CF !important;
  font-size: 1.05rem !important;
  padding-top: 0.5rem !important;
  padding-right: 1rem !important;
  padding-bottom: 0.5rem !important;
  padding-left: 1rem !important;
  border: 0 !important;
  color: white !important;
  font-family: "Source Sans Pro", Arial, sans-serif !important;
  font-weight: normal !important;
  transition: background-color 200ms ease-out !important;
  border-radius: 6px !important;
  border-color: #B6E0FC !important;
  text-shadow: 0 0 !important;
}

/* Blesson's code above this point*/

@media only screen and (min-width: 901px) {
  #toplink img {
    margin-top: 7px;
  }
}

@media only screen and (min-width: 40.01em) {

  /* Homepage Details */

  #cathedral-cover {
    background-image:url(https://www.bechurch.ca/wp-content/uploads/2019/08/DSC2140_desktop_small.jpg);
    background-position: bottom center;
    margin-bottom: 20px;
  }

  #info-statement-of-faith {
    background-image:url(images/info-statement-of-faith.jpg);
  }

  #info-parishes {
    background-image:url(images/info-parishes.jpg);
  }

}

@media only screen and (max-width: 1010px) {
  #toplink span.diocese {
    left: 17.0%;
  }
}

@media only screen and (max-width: 978px) {
  #desktop-nav a {
    font-size: 15px;
  }
  #toplink span.diocese {
    font-size: 14px;
  }
}


@media only screen and (max-width: 900px) {
  #toplink span.diocese {
    font-size: 14px;
  }

  ul#desktop-nav {
    margin-bottom: 0;
  }

  #desktop-nav a {
    font-size: 15px;
    padding: 22px 7px;
  }

/* Blesson's from here */
   .tab-only {
    display: block !important;
  }

  .mobile-only{
  display: none !important;
  }
/* Blesson's to here */

}

@media only screen and (max-width: 866px) {
  #desktop-nav a {
    font-size: 14px;
  }

  #toplink span.diocese {
    font-size: 12px;
  }
}

@media only screen and (max-width: 800px) {
  #toplink span.diocese {
    bottom: 5px;
  }

  #desktop-nav a {
    font-size: 11px;
    padding: 19px 7px;
  }
}

/* Blesson's code below for tab view */
@media only screen and (max-width: 64.063em) {
  .large-only{
    display: none;
  }

  .near-you{
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .about-stats1{
    padding-top: 0px;
  }

  .about-stats2{
    padding-top: 0px;
  }

  .stats-text{
    margin-bottom: 20px;
  }

  .stats-text1{
    margin-bottom: 20px;
  }

  .emblem-position{
    padding-top: 40px;
  }

  .dept-stats1{
    text-align: center;
    padding-top: 0px;
    padding-left: 0px;
  }

  .proj-banner-num{
    font-size: 50px;
  }

  .proj-banner-text{
    padding-bottom: 15px;
  }

  .proj-banner-link {
    margin-top: 50px;
  }

  .proj-sidebar{
  padding-left: 20px;
  }

  .proj-mid-grids{
    text-align: left;
    font-size: 14px;
  }

  .proj-mid-grids-margin{
    margin-top: 0px;
    text-align: left;
  }

}

/* Blesson's code above */

/* Mob view */
@media only screen and (max-width: 40.063em) {

  body {
    line-height: 1.4;
  }

  /* Basic content styles */
  h1 {
    font-size: 1.9em;
    margin-top: 0.3em;
  }

  h1.small {
    font-size: 1.5em;
    margin-top: 0.9em;
  }

  h2 {
    font-size: 1.7em;
  }

  h3 {
    font-size: 1.5em;
  }

  .desktop-only {
    display: none;
  }

/* Blesson's from here */
  .tab-only {
    display: none !important;
  }

  .mobile-only{
    display: block !important;
  }

  .mission-box{
    font-size: 18px;
  }

  .stats-num{
  font-size: 28px;
  }

  .stats-text{
    font-size: 15px;
    line-height: 1.2;
  }

  .emblem-position{
    padding-top: 0px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-text1{
    padding-top: 0px !important;
  }

  .proj-banner-text {
    font-size: 26px;
  }

  .proj-banner-subtext {
    width: 165px;
    font-size: 18px;
  }

  .proj-banner-text {
    padding-top: 56px;
    padding-bottom: 32px;
  }

  .hide-for-mobile{
    display: none !important;
  }
/* Blesson's to here */

  p {
    font-size: 1.1em;
    line-height: 1.7;
  }

  a.button {
    font-size: 1.2em;
  }

  /* Utilty classes */
  input.mobile-block {
    display: block;
    width: 100%;
    font-size: 1.3em;
  }

  /* Page Content */
  div .text-shim {
    background: transparent;
  }

  /* Home page */
  #cathedral-cover {
    height: auto;
    background-image:url(https://www.bechurch.ca/wp-content/uploads/2019/06/DSC2140.jpg);
    background-position: center;
  }

  #cathedral-cover .white-header-text {
    font-size: 1.6em;
    text-align: left;
    position: relative;
    padding: 15px 20px;
  }

  #cathedral-cover .arrow-link {
    display: block;
    padding: 10px 0;
  }

  .three-links span.arrow-link {
    display: none;
  }

  .three-links .columns:first-child {
    padding-left: 0;
  }

  .three-links .columns:nth-child(2) {
    padding-right: 0;
  }

  .more-info div.columns {
    padding: 5px 0;
  }

  .more-info a.info-box {
    font-size: 1.7em;
    padding: 20px 0;
  }

  #info-statement-of-faith {
    background-image:url(images/info-statement-of-faith-mobile.jpg);
  }

  #info-parishes {
    background-image:url(images/info-parishes-mobile.jpg);
  }

  /* Nav bar shenanigans */

  #navbar {
    padding: 5px 0;
  }

  #navbar .columns {
    padding-left: 0;
    padding-right: 0;
  }

  #titlebox {
    position: relative;
  }

  #toplink img {
    display: none;
  }

  #toplink {
    height: 58px;
    background-image:url(images/bec_mobile_header.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 9px;
    margin-bottom: 9px;
    margin-left: 7px;
  }

  #toplink span.diocese {
    left: 51px;
    bottom: 6px;
  }

  #mega-menu-box {
    display: none;
  }

  #menubutton {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    padding-top: 18px;
    padding-left: 12px;
    line-height: 0.4;
  }

  #menubutton .hamburglar {
    display: inline-block;
    clear: right;
    height: 3px;
    width: 25px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    margin-bottom: 4px;
    background-color: #B0B9C1;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    transition: 0.5s;
    position: absolute;
    left: 10px;
  }

  #first-line {
    top: 18px;
  }

  #second-line {
    top: 28px;
  }

  #third-line {
    top: 38px;
  }

  #menubutton.menu-shown #first-line {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 15px;
    top: 19px;
  }

  #menubutton.menu-shown #second-line {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  #menubutton.menu-shown #third-line {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 15px;
    top: 19px;
    left: 20px;
  }

  #mobile-menu-wrapper {
    display: block;
    height: 0;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    transition: 0.4s;
  }

  /* Breadcrumbs */
  #breadcrumb-wrapper {
    background: transparent;
    position: relative;
  }

  #breadcrumbs {
    padding-top: 7px;
  }

  #breadcrumbs a.home,
  #breadcrumbs .current_page {
    display: none;
  }

  #breadcrumbs .bread_arrow:nth-last-child(2) {
    display: none;
  }

  #breadcrumb-wrapper .share-box {
    padding-top: 6px;
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
  }

  #breadcrumb-wrapper .share-box .share-text {
    display: none;
  }

  #breadcrumb-wrapper .share-box .fa.fa-2x {
    font-size: 27px;
  }

  /* Action Bar */

  .action-bar a.button {
    display: block;
    margin: 9px 5px;
  }

  .action-bar .share-box {
    margin-bottom: 7px;
    font-size: 1.2em;
  }

  /* Story Links */
  .story-link .text-box {
    padding-top: 0;
  }

  .story-link {
    font-size: 0.9em;
  }

  /* Article styles */
  .photowall-wrapper h2 {
    font-size: 2em;
  }

  blockquote {
    margin-left: 0.2em;
  }

  .button-c2a {
    display: block;
  }

  /* About Page */
  .full-width-banner {
    height: auto;
    padding: 30px 0;
  }

  .full-width-banner h1 {
    margin-top: 30px;
    font-size: 2.5em;
  }

  .submenu {
    display: block;
  }

  ul.projects_list {
    list-style-type: none;
    padding-left: 0;
  }

  .projects_list li {
    margin-bottom: 10px;
  }

  .projects_list li a {
    display: block;
    font-size: 1.1em;
    font-family: "Source Sans Pro", sans-serif;
    color: black;
    border-radius: 3px;
    border: 1px solid #59A0CF;
    background: #D6EDFD;
    padding: 5px 8px;
  }

  /* Footer */
  .footer {
    text-align: center;
    border-top: 2px solid #aaa;
  }

  .footer .logo-box {
    display: block;
  }

  .footer .logo-box.ayradio {
    margin-left: 0;
    margin-top: 10px;
  }


}

@media only screen and (max-width: 680px) and (min-width: 640px){
  #toplink span.diocese {
    font-size: 11px;
    bottom: 2px;
  }
}

@media only screen and (max-width: 652px) and (min-width: 640px){
  #desktop-nav a {
    padding: 18px 5px;
  }
}

.text-center {
	text-align: center;
}

.church-affiliation {
	background-image: url(images/banner-affliation.jpg);
}

#church-affiliation-intro-icons { margin-top: 20px; }

#church-affiliation-intro-icons img {
	height: 58px;
	max-width: 100%;
}

#church-affiliation-intro-icons .icon-wrapper {
	margin-right: 10px;
	display: inline-block;
}

#church-affiliation-intro-icons .icon-text {
	font-family: "Source Sans Pro", sans-serif;
    text-transform: uppercase;
	display: inline-block;
	vertical-align: middle;
	line-height: 1.4;
	text-align: left;
	font-weight: 600;
	font-size: 112%;
}

#church-affiliation-intro-icons .icon-text a {
	color: #222;
}


#church-affiliation-intro-icons .icon-text a span.text-red {
	color: #6c0a0a !important;
}

.text-black {
	color: #222;
}

.text-red {
	color: #6c0a0a !important;
}

.text-source-sans-pro {
	font-family: "Source Sans Pro", sans-serif;
}

@media only screen and (min-width: 1200px) {
	#church-affiliation-intro-icons.row {
		max-width: 950px;
	}
}

@media only screen and (max-width: 810px) {
	#church-affiliation-intro-icons img {
		height: 35px;
	}
	
	#church-affiliation-intro-icons .icon-text {
		line-height: 1.2;
		font-size: 105%;
	}
}

.church-affiliation-page a {
	color: #6c0a0a !important;
}