/*
 * BS5 Episcopal theme — shell, content, carousel captions, feature boxes, footer.
 * Omits BS3 navbar-inverse, #fixednav, and #cssmenu (default_shared uses BS5 nav).
 * Body/nav colors are usually overridden by parish_tokens / default_shared_bs5_nav_tokens.
 */
.default-layout--bs5-chrome {
  /* Body/heading stacks come from Fonts & Colors (bs5_site_tokens), not a fixed theme face. */
  font-size: 14px;
  line-height: 1.5;
}

.default-layout--bs5-chrome #pagewrapper {
  background-color: #fff;
  box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.07);
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  --bs-body-bg: #fff;
  --bs-secondary-bg: #fff;
}

/* #maincontent is the col-md-9 column — do not set padding here (zeros BS gutters).
   Legacy #primarycontent { padding-top: 25px } targeted a different id and misaligned columns. */

.default-layout--bs5-chrome #belownav,
.default-layout--bs5-chrome #belownav > .row,
.default-layout--bs5-chrome #maincontent,
.default-layout--bs5-chrome #secondarycontent,
.default-layout--bs5-chrome .primarycontent,
.default-layout--bs5-chrome .rightside,
.default-layout--bs5-chrome .col-md-9,
.default-layout--bs5-chrome .col-md-3 {
  background-color: #fff;
}

.default-layout--bs5-chrome #secondarycontent {
  padding: 0;
}

.default-layout--bs5-chrome div.col-sm-3.hidden-print.rightside {
  float: right;
}

.default-layout--bs5-chrome .jumbotron {
  padding: 0;
  margin-bottom: 0;
  margin-top: 0;
  font-size: 16px;
  font-weight: 200;
  line-height: 1.5;
  color: #3c208a;
  background-color: transparent;
}

.default-layout--bs5-chrome .jumbotron h1,
.default-layout--bs5-chrome .jumbotron .h1 {
  color: #3c208a;
  line-height: 1;
  font-size: 50px;
}

.default-layout--bs5-chrome div#page_primary_image {
  width: 40%;
  float: left;
}
.default-layout--bs5-chrome div#page_primary_image img {
  width: 100%;
  padding-right: 5px;
}

.default-layout--bs5-chrome .primarycontent img {
  padding: 0;
}

.default-layout--bs5-chrome .carousel .carousel-item {
  background-color: #fff;
  height: auto;
}

.default-layout--bs5-chrome div#newsdetail div.chunk.news {
  padding-left: 0;
}

/* Slideshow captions (BS5 carousel markup) */
.default-layout--bs5-chrome #myCarousel {
  margin: 0;
  border: 0;
  padding: 0;
}

.default-layout--bs5-chrome .carousel .carousel-indicators {
  display: none;
}

.default-layout--bs5-chrome .carousel-caption {
  z-index: 10;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 50px;
  height: auto;
  padding: 10px 10px 20px;
  color: #fff;
  text-align: center;
  font-size: 200%;
  font-family: Goudy Old Style, Times New Roman, serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  background-image: url("/images/backgrounds/black50.png");
  background-size: auto 100%;
  background-repeat: repeat;
  box-shadow: 4px 4px 6px 2px rgba(50, 50, 50, 0.25);
}

.default-layout--bs5-chrome .carousel-caption p {
  opacity: 0.9;
  color: #f5f4f6;
  font-size: 14px;
  line-height: 1.5;
}

.default-layout--bs5-chrome .carousel-caption a,
.default-layout--bs5-chrome .carousel-caption h1,
.default-layout--bs5-chrome .carousel-caption h3,
.default-layout--bs5-chrome .carousel-caption p {
  color: #fff;
}

.default-layout--bs5-chrome .carousel-caption h3 {
  background: transparent;
  font-size: 28px;
  text-transform: uppercase;
}

.default-layout--bs5-chrome div.carousel-inner img {
  padding: 0;
}

/* Feature boxes */
.default-layout--bs5-chrome div.row.featurebox {
  margin: 10px;
}

.default-layout--bs5-chrome div.col-sm-4.featurebox {
  border: 1px solid #ccc;
  background-color: #eee;
  padding-left: 70px;
  min-height: 150px;
  margin: 0 5%;
  width: 30%;
}

.default-layout--bs5-chrome div.col-sm-4.featurebox.first,
.default-layout--bs5-chrome div.col-sm-4.featurebox.last {
  margin: 0;
}

.default-layout--bs5-chrome div.col-sm-4.featurebox:hover {
  background-color: #296dc1;
  color: #fff;
}

.default-layout--bs5-chrome div.col-sm-4.featurebox > a,
.default-layout--bs5-chrome div.col-sm-4.featurebox > p,
.default-layout--bs5-chrome div.col-sm-4.featurebox > h5 {
  color: #296dc1;
}

.default-layout--bs5-chrome div.col-sm-4.featurebox:hover > a,
.default-layout--bs5-chrome div.col-sm-4.featurebox:hover > p,
.default-layout--bs5-chrome div.col-sm-4.featurebox:hover > h5 {
  color: #fff;
  text-decoration: none;
}

.default-layout--bs5-chrome div.col-sm-4.featurebox.people {
  background-image: url("http://s3.amazonaws.com/dfc_attachments/images/3310321/people_g_web.png");
  background-repeat: no-repeat;
  background-position: 4% 4%;
}
.default-layout--bs5-chrome div.col-sm-4.featurebox.people:hover {
  background-image: url("http://s3.amazonaws.com/dfc_attachments/images/3310305/people_w_web.png");
}
.default-layout--bs5-chrome div.col-sm-4.featurebox.calendar {
  background-image: url("http://s3.amazonaws.com/dfc_attachments/images/3310309/calendar_g_web.png");
  background-repeat: no-repeat;
  background-position: 4% 4%;
}
.default-layout--bs5-chrome div.col-sm-4.featurebox.calendar:hover {
  background-image: url("http://s3.amazonaws.com/dfc_attachments/images/3310325/calendar_w_web.png");
}
.default-layout--bs5-chrome div.col-sm-4.featurebox.thumb {
  background-image: url("http://s3.amazonaws.com/dfc_attachments/images/3310313/thumb_g_web.png");
  background-repeat: no-repeat;
  background-position: 4% 4%;
}
.default-layout--bs5-chrome div.col-sm-4.featurebox.thumb:hover {
  background-image: url("http://s3.amazonaws.com/dfc_attachments/images/3310317/thumb_w_web.png");
}

/* Footer layout (colors from parish_tokens / Fonts & Colors) */
.default-layout--bs5-chrome div.footer div.col-lg-12 {
  margin: 0;
  padding: 0;
}
.default-layout--bs5-chrome div.footer div.col-lg-12 iframe {
  width: 100%;
}

.default-layout--bs5-chrome .footer iframe {
  margin-top: 15px;
}

.default-layout--bs5-chrome div.footer ul {
  padding-left: 0;
}
.default-layout--bs5-chrome div.footer ul li {
  list-style: none;
}

.default-layout--bs5-chrome p.kind,
.default-layout--bs5-chrome span.phonekind,
.default-layout--bs5-chrome span.footeremail {
  display: none;
}

.default-layout--bs5-chrome .verybottom {
  margin-top: 80px;
}

/* Typography & links */
.default-layout--bs5-chrome a {
  color: #0e4964;
  text-decoration: underline;
}
.default-layout--bs5-chrome a:hover,
.default-layout--bs5-chrome a:focus {
  color: #2a6496;
  text-decoration: none;
}

.default-layout--bs5-chrome h1,
.default-layout--bs5-chrome h2,
.default-layout--bs5-chrome h3,
.default-layout--bs5-chrome h4,
.default-layout--bs5-chrome h5,
.default-layout--bs5-chrome h6 {
  /* Text color from Fonts & Colors (bs5_site_tokens), not fixed theme grays. */
  font-weight: 500;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 10px;
}

.default-layout--bs5-chrome h4,
.default-layout--bs5-chrome h5,
.default-layout--bs5-chrome h6 {
  margin-top: 10px;
}

.default-layout--bs5-chrome h1,
.default-layout--bs5-chrome .h1 {
  font-size: 36px;
}
.default-layout--bs5-chrome h2,
.default-layout--bs5-chrome .h2 {
  font-size: 30px;
}
.default-layout--bs5-chrome h3,
.default-layout--bs5-chrome .h3 {
  font-size: 20px;
}
.default-layout--bs5-chrome h3 a,
.default-layout--bs5-chrome h3 a:hover {
  text-decoration: underline;
}

.default-layout--bs5-chrome p {
  margin: 0 0 10px;
}

.default-layout--bs5-chrome .chunk {
  border: 1px solid #eee;
  padding: 4px;
  margin-bottom: 10px;
}

.default-layout--bs5-chrome div.chunk h2.title {
  font-weight: 500;
}
.default-layout--bs5-chrome div.chunk div.news-date {
  text-align: right;
  font-weight: 100;
}

.default-layout--bs5-chrome h4.event-date {
  font-size: 1.6em;
}

.default-layout--bs5-chrome ul.communitylinks li {
  margin-left: 0;
  background-color: #730a26;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #8a7967;
}
.default-layout--bs5-chrome ul.communitylinks li:hover {
  border: 1px solid #c5093b;
  background-color: #8a7967;
}

.default-layout--bs5-chrome ul.communitylinks li.communitylinks a,
.default-layout--bs5-chrome ul.sociallinks li.sociallinks a {
  list-style: none;
  color: #fff;
  font-size: 0.8em;
}

.default-layout--bs5-chrome h2.socialbox {
  color: #fff;
}
.default-layout--bs5-chrome .socialbox {
  background-color: transparent;
  margin-left: -25px;
  width: 100%;
}

@media (max-width: 767px) {
  .default-layout--bs5-chrome .col-md-9 {
    margin-right: 15px;
  }
  .default-layout--bs5-chrome .carousel-caption {
    left: 0;
    right: 0;
    padding: 3px;
    font-size: 100%;
  }
}
