/*
 * BS5 default_shared site chrome — content/layout rules from bootstrap3/css/custom.css
 * without BS3 navbar, grid, or #fixednav overrides that conflict with BS5 chrome.
 */
.default-layout--bs5-chrome body {
  margin-bottom: 50px;
}

.default-layout--bs5-chrome #pagewrapper {
  margin-top: 10px;
}

.default-layout--bs5-chrome .container .jumbotron,
.default-layout--bs5-chrome .jumbotron {
  padding-left: 0;
  margin-left: 0;
  padding-right: 0;
  margin-right: 0;
  background-color: transparent;
  border-radius: 0;
}

.default-layout--bs5-chrome .navbar .dfc-custom-search {
  max-width: 280px;
}
.default-layout--bs5-chrome .navbar .dfc-custom-search .gsc-control-cse {
  padding: 0 !important;
}
.default-layout--bs5-chrome .navbar .dfc-custom-search .gsc-search-box {
  margin-bottom: 0 !important;
}
.default-layout--bs5-chrome .navbar .dfc-custom-search .gsc-search-box-tools .gsc-search-box .gsc-input {
  padding-right: 0 !important;
}

.default-layout--bs5-chrome .navigation_menu {
  z-index: 1020;
}

.default-layout--bs5-chrome #maincontent {
  z-index: 777;
}

.default-layout--bs5-chrome #secondarycontent {
  z-index: 555;
}

/* Centred image variants from the admin Size picker */
.default-layout--bs5-chrome .full_width_image,
.default-layout--bs5-chrome .two_third_image,
.default-layout--bs5-chrome .half_image,
.default-layout--bs5-chrome .third_image,
.default-layout--bs5-chrome .quarter_image,
.default-layout--bs5-chrome .twenty_image,
.default-layout--bs5-chrome .ten_image {
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.default-layout--bs5-chrome .full_width_image { width: 100%; }
.default-layout--bs5-chrome .two_third_image { width: 67%; }
.default-layout--bs5-chrome .half_image { width: 50%; }
.default-layout--bs5-chrome .third_image { width: 33%; }
.default-layout--bs5-chrome .quarter_image { width: 25%; }
.default-layout--bs5-chrome .twenty_image { width: 20%; }
.default-layout--bs5-chrome .ten_image { width: 10%; }

.default-layout--bs5-chrome .two_third_image_left,
.default-layout--bs5-chrome .half_image_left,
.default-layout--bs5-chrome .third_image_left,
.default-layout--bs5-chrome .quarter_image_left,
.default-layout--bs5-chrome .twenty_image_left,
.default-layout--bs5-chrome .fifteen_image_left,
.default-layout--bs5-chrome .ten_image_left {
  height: auto;
  float: left;
  padding: 0;
  padding-right: 10px;
}
.default-layout--bs5-chrome .two_third_image_left { width: 67%; }
.default-layout--bs5-chrome .half_image_left { width: 50%; }
.default-layout--bs5-chrome .third_image_left { width: 33%; }
.default-layout--bs5-chrome .quarter_image_left { width: 25%; }
.default-layout--bs5-chrome .twenty_image_left { width: 20%; }
.default-layout--bs5-chrome .fifteen_image_left { width: 15%; }
.default-layout--bs5-chrome .ten_image_left { width: 10%; }

.default-layout--bs5-chrome .two_third_image_right,
.default-layout--bs5-chrome .half_image_right,
.default-layout--bs5-chrome .third_image_right,
.default-layout--bs5-chrome .quarter_image_right,
.default-layout--bs5-chrome .twenty_image_right,
.default-layout--bs5-chrome .fifteen_image_right,
.default-layout--bs5-chrome .ten_image_right {
  height: auto;
  float: right;
  padding: 0;
  padding-left: 10px;
}
.default-layout--bs5-chrome .two_third_image_right { width: 67%; }
.default-layout--bs5-chrome .half_image_right { width: 50%; }
.default-layout--bs5-chrome .third_image_right { width: 33%; }
.default-layout--bs5-chrome .quarter_image_right { width: 25%; }
.default-layout--bs5-chrome .twenty_image_right { width: 20%; }
.default-layout--bs5-chrome .fifteen_image_right { width: 15%; }
.default-layout--bs5-chrome .ten_image_right { width: 10%; }

.default-layout--bs5-chrome div.media.chunk div.media-body div.first_news_image img.news_image,
.default-layout--bs5-chrome div#newsdetail div.chunk.news div.newsclip img.news_image {
  width: 100%;
}

.default-layout--bs5-chrome div.first_news_image,
.default-layout--bs5-chrome div.second_news_image,
.default-layout--bs5-chrome div.third_news_image,
.default-layout--bs5-chrome div.fourth_news_image {
  padding: 2px;
  border: 1px solid #ccc;
  background-color: #eee;
}
.default-layout--bs5-chrome div.first_news_image,
.default-layout--bs5-chrome div.third_news_image {
  float: left;
  margin-right: 10px;
}
.default-layout--bs5-chrome div.second_news_image,
.default-layout--bs5-chrome div.fourth_news_image {
  float: right;
  margin-left: 10px;
}

.default-layout--bs5-chrome p.first_image_caption {
  margin-bottom: 0;
}

.default-layout--bs5-chrome ul.communitylinks,
.default-layout--bs5-chrome ul.sociallinks {
  margin: 0;
  padding: 0;
}
.default-layout--bs5-chrome ul.sociallinks {
  margin-top: 5px !important;
}
.default-layout--bs5-chrome ul.sociallinks li {
  margin-bottom: 22px !important;
}
.default-layout--bs5-chrome ul.communitylinks li {
  background-color: #0c4825;
  margin-bottom: 15px !important;
  margin-left: 0;
  border: 1px solid #6e6a07;
  padding: 10px;
}
.default-layout--bs5-chrome ul.communitylinks li:hover {
  border: 1px #dfd703 solid;
  padding: 10px;
}

.default-layout--bs5-chrome li.socialicon {
  max-width: 60px;
  display: inline;
}
.default-layout--bs5-chrome li.socialicon a {
  padding: 0 2px 0 0;
}
.default-layout--bs5-chrome li.socialicon img {
  max-width: 40px;
}
.default-layout--bs5-chrome li.socialicon img:hover {
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
}
.default-layout--bs5-chrome ul.social_networks {
  margin: 0 0 10px;
  padding: 0;
}

.default-layout--bs5-chrome h2.title {
  margin-top: 0;
}
.default-layout--bs5-chrome h4.mobileheading {
  margin-left: 20px;
}
.default-layout--bs5-chrome h3.social_sharing {
  font-size: 12px;
}

.default-layout--bs5-chrome img#episcopal_church_modal {
  float: left;
  margin-left: -10px;
  margin-top: 6px;
  padding-right: 15px;
  cursor: pointer;
}
.default-layout--bs5-chrome img#episcopal_church_modal_footer {
  cursor: pointer;
}

.default-layout--bs5-chrome .btn-success a,
.default-layout--bs5-chrome .btn.btn-danger a,
.default-layout--bs5-chrome .btn-warning a,
.default-layout--bs5-chrome .btn-info a,
.default-layout--bs5-chrome .btn-success,
.default-layout--bs5-chrome .btn.btn-danger,
.default-layout--bs5-chrome .btn-warning,
.default-layout--bs5-chrome .btn-info,
.default-layout--bs5-chrome div.btn.btn-danger a,
.default-layout--bs5-chrome div.btn.btn-danger {
  color: #fff !important;
  text-decoration: none;
}

.default-layout--bs5-chrome #myCarousel {
  margin-bottom: 0 !important;
  border: 0;
}

.default-layout--bs5-chrome iframe {
  width: 100%;
}

.default-layout--bs5-chrome input.btn.fullwidth,
.default-layout--bs5-chrome div.btn.btn-success.btn-xs.fullwidth {
  width: 100%;
  margin: 3px 0 5px;
  text-align: left;
}

.default-layout--bs5-chrome div#content h3 {
  background-color: #3c5082;
}
.default-layout--bs5-chrome div#content h3 a,
.default-layout--bs5-chrome div#content h3 a:hover {
  color: #fff;
  text-decoration: none;
}
.default-layout--bs5-chrome div#content h3 a:hover {
  text-decoration: underline;
}
.default-layout--bs5-chrome div#content h5 {
  background-color: #fff;
}
.default-layout--bs5-chrome div#content h5 a,
.default-layout--bs5-chrome div#content h5 a:hover {
  color: #3c5082;
  text-decoration: none;
}

.default-layout--bs5-chrome img {
  max-width: 100%;
}
.default-layout--bs5-chrome #map-canvas img {
  max-width: initial;
}

.default-layout--bs5-chrome h4.event-date,
.default-layout--bs5-chrome h4.news-date {
  margin-bottom: 5px;
}
.default-layout--bs5-chrome .event-image {
  width: 100%;
  height: auto;
  float: left;
}
.default-layout--bs5-chrome .event-image img {
  width: 100%;
}

.default-layout--bs5-chrome img.dfclogo,
.default-layout--bs5-chrome .dfclogo img {
  max-width: 150px;
  width: auto;
  height: auto;
}

.default-layout--bs5-chrome .chunk {
  overflow: hidden;
  clear: both;
}

.default-layout--bs5-chrome .btn-podcast {
  color: #fff;
  background-color: #761168;
  border-color: #5c0a50;
}
.default-layout--bs5-chrome .btn-podcast a,
.default-layout--bs5-chrome div.btn.btn-podcast.btn-sm a {
  color: #fff !important;
  text-decoration: none;
}
.default-layout--bs5-chrome .btn-podcast:hover,
.default-layout--bs5-chrome .btn-podcast:focus {
  color: #fff;
  background-color: #5c0a50;
  border-color: #5c0a50;
}

.default-layout--bs5-chrome img.honorific_image {
  margin-top: -15px;
  margin-left: -23px;
}

.default-layout--bs5-chrome h2.event {
  margin: 0;
}
.default-layout--bs5-chrome h4.panel-title a {
  font-size: 2em;
  text-decoration: none;
}
.default-layout--bs5-chrome p.lentdate {
  text-align: right;
  font-size: 1.2em;
  font-style: italic;
}

.default-layout--bs5-chrome .padbelow {
  margin-bottom: 10px;
}

.default-layout--bs5-chrome .item {
  overflow: hidden;
  transition: all 1s ease-in-out;
}
.default-layout--bs5-chrome .item:hover {
  transform: scale(0.95);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.5);
}
.default-layout--bs5-chrome .item img {
  transition: all 1s ease-in-out;
}
.default-layout--bs5-chrome .item img:hover {
  transform: scale(1.4);
}

@media (max-width: 767px) {
  .default-layout--bs5-chrome #map-canvas {
    height: 200px;
  }
  .default-layout--bs5-chrome img.placeholdernewsimage {
    display: none;
  }
  .default-layout--bs5-chrome img#episcopal_church_modal {
    display: none;
  }
  .default-layout--bs5-chrome img#episcopal_church_modal_footer {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .default-layout--bs5-chrome #map-canvas {
    height: 300px;
  }
  .default-layout--bs5-chrome img#episcopal_church_modal {
    display: none;
  }
  .default-layout--bs5-chrome img#episcopal_church_modal_footer {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .default-layout--bs5-chrome #map-canvas {
    height: 500px;
  }
  .default-layout--bs5-chrome img#episcopal_church_modal_footer {
    float: right;
    max-height: 140px;
    width: auto;
    margin-top: -20px;
  }
}

@media (min-width: 1200px) {
  .default-layout--bs5-chrome #map-canvas {
    height: 700px;
  }
}
