body {
  padding: 60px 0px 20px 0px;
}

/* Square Bootstrap responsive embed for agenda widgets */
.embed-responsive-square {
  padding-bottom: 100%;
}

/* Make columns the same height */
.row.is-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.row.is-flex > [class*="col-"] {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;

  margin-bottom: 20px;
}

.image-row {
  margin-bottom: 20px;
}

.jumbotron p {
  margin-bottom: 0;
}

dd {
  margin-bottom: 1em;
}

p img {
  width: 100%;
}

.cbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bunkhouse-body {
  padding-top: 50px;
}

.bunkhouse-body p {
  font-size: large;
}

.bunkhouse-wrapper {
  display: flex;
  justify-content: center;
}

.bunkhouse-container {
  max-width: 950px;
}

.bunkhouse-navbar,
.bunkhouse-navbar .navbar-brand {
  font-size: 22px;
}

.bunkhouse-banner {
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(/images/bunkhouse/bunkhouse-exterior-rendering.jpg);
  background-position-y: 34%;
  background-position-x: 50%;
  min-height: 14vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 1rem;
}

.bunkhouse-banner h1,
.bunkhouse-banner h2,
.donations-block {
  background: rgba(255, 255, 255, 0.45);
}

.bunkhouse-banner h1,
.bunkhouse-banner h2 {
  font-weight: bolder;
  text-transform: uppercase;
  color: #151515;
  padding: 2px 10px;
  text-align: center;
  font-size: 2rem;
}

.thermometer {
  height: 10px;
  border-radius: 40px;
  background-color: #dae5eb;
}

.donation-progress {
  background: #d22630;
}

.donation-progress-pledges {
  background: rgb(145, 17, 38);
}

.bunkhouse-banner h1 {
  font-size: 4rem;
}
.bunkhouse-banner h2 {
  font-size: 3rem;
}

.bunkouse-donate-button {
  font-size: 2rem;
  width: 200px;
  text-align: center;
  display: inline-block;
  width: 100%;
}

.bunkouse-donate-button:hover,
.bunkouse-donate-button:visited {
  color: white;
}

@media (min-width: 768px) {
  .bunkhouse-banner h1 {
    font-size: 6rem;
  }
  .bunkhouse-banner h2 {
    font-size: 4rem;
  }

  .bunkouse-donate-button {
    font-size: 3rem;
    width: 250px;
  }
}

.bunkouse-donate-button {
  font-weight: 600;
  opacity: 0.93;
  padding: 0.5625rem 0.75rem;
  background: #d22630;
  border-bottom: 2px solid #a41d35;
  border-radius: 30px;
  color: white;
  padding: 0.5625rem 0.75rem;
  margin-bottom: 20px;
}

.bunkouse-donate-button:hover {
  text-decoration: underline;
}

@media (min-width: 800px) {
  .small-screen-only {
    display: none;
  }
}

.donations-amount {
  font-size: 3rem;
}

.donations-block {
  padding: 20px;
  min-width: min(300px, 80%);
}

.camelot-banner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .camelot-banner {
    flex-direction: row;
  }
  .camelot-banner-text {
    max-width: 55%;
  }
}
.camelot-banner img {
  max-width: 100%;
}

.camelot-banner-img {
  margin-right: 2rem;
}

.navbar {
  margin-bottom: 0;
}

.camelot-banner .links-box {
  text-align: center;
}

@media (min-width: 768px) {
  .camelot-banner .links-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
}

.camelot-banner-wrapper {
  /* much smaller collapsed height to reduce visual dominance */
  max-height: 80px;
  overflow: hidden;
  position: relative; /* ensure this is the positioned ancestor for the toggle */
  transition: max-height 0.45s ease;
}
.camelot-banner-wrapper.expanded {
  max-height: 2000px; /* large enough to reveal full content */
}
.camelot-banner-toggle {
  display: flex;
  justify-content: center;
  margin-top: -54px; /* move toggle up to sit higher on smaller collapsed banner */
  z-index: 40;
}
.camelot-toggle-btn {
  background: transparent;
  color: #0b3d91; /* make V black */
  border: none;
  min-width: 72px;
  height: 36px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  padding: 6px 0;
}

.camelot-toggle-icon {
  transition: transform 0.25s ease;
  transform: rotate(0deg) scaleX(1);
  display: block;
}
.camelot-toggle-btn.is-expanded .camelot-toggle-icon {
  transform: rotate(180deg) scaleX(1);
}

/* Remove default focus outline for the toggle button (visual only) */
.camelot-toggle-btn:focus {
  outline: none;
  box-shadow: none;
}

/* Remove browser default focus rings and inner borders for the toggle */
.camelot-toggle-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.camelot-toggle-btn:focus,
.camelot-toggle-btn:active,
.camelot-toggle-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.camelot-toggle-btn::-moz-focus-inner { border: 0; }
.camelot-toggle-btn:focus {
  outline: 2px solid #ddd;
}

@media (max-width: 767px) {
  .camelot-banner-wrapper { max-height: 120px; }
}

.alert.alert-info { position: static; }

/* Fade the banner text near the bottom when the banner is collapsed */
.camelot-banner-wrapper.collapsed {
  -webkit-mask-image: linear-gradient(180deg, black 55%, transparent 100%);
  mask-image: linear-gradient(180deg, black 55%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.camelot-banner-wrapper.expanded {
  -webkit-mask-image: none;
  mask-image: none;
}

@media (max-width: 767px) {
  .camelot-banner-wrapper.collapsed {
    -webkit-mask-image: linear-gradient(180deg, black 55%, transparent 100%);
    mask-image: linear-gradient(180deg, black 55%, transparent 100%);
  }
}
