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: 57vh;
  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-wrapper {
  cursor: pointer;
  padding: 0;
}

.camelot-banner-wrapper.expanded {
  padding: 15px;
}

.camelot-banner-collapsible {
  overflow: hidden;
  max-height: min(20vh, 120px);
  position: relative;
}

@media (min-width: 768px) {
  .camelot-banner-collapsible {
    max-height: min(20vh, 200px);
  }
}

.camelot-banner-wrapper:not(.expanded) .camelot-banner-collapsible::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, #d9edf7);
  pointer-events: none;
}

.camelot-banner-wrapper.expanded .camelot-banner-collapsible {
  max-height: none;
}

@media (max-width: 767px) {
  .camelot-banner-wrapper:not(.expanded) .camelot-banner-img {
    display: none;
  }
  .camelot-banner-text h3 {
    font-size: 22px;
  }
}

.camelot-banner-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding: 0 15px;
}

.camelot-banner-donate-small {
  padding: 4px 16px;
}

@media (max-width: 767px) {
  .camelot-banner-donate-small {
    max-width: 150px;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
  }
}

.camelot-banner-wrapper.expanded .camelot-banner-donate-small {
  display: none;
}

.camelot-banner-toggle {
  font-size: 1.2rem;
  color: #31708f;
  user-select: none;
  transform: rotate(90deg);
  display: inline-block;
  transition: transform 0.2s ease;
}

.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;
}

details summary {
  cursor: pointer;
  list-style: none;
  padding-left: 1.5em;
  position: relative;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::before {
  content: "▶";
  font-size: 0.75em;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  color: #555;
}

details[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.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;
  }
}
