html {
  font-size: 1.125em;
  height: -webkit-fill-available;

  --pv-light-green: #CCE6CC;
  --pv-medium-green: #99C094;
  --pv-dark-green: #3F5F42;

  --pv-dark-blue: #296DB3;
  --pv-medium-blue: #6695B3;
  --pv-light-blue: #DAE2E8;

  --pv-light-red: #EDDDDD;
  --pv-medium-red: #D14343;
  --pv-dark-red: #802020;

  --pv-light-gray: #E8E8E8;

  --pv-bright-green: #bbfed8;

  --pv-text-primary: #333;
  --pv-text-secondary: #71706D;

  --pv-font-accent: 'Raleway', sans-serif;
  --pv-font-body: 'Roboto', system-ui, sans-serif;

  --md-red-50: #FFEBEE;
  --md-red: #F44336;
  --md-red-900: #B71C1C;

  --md-green-50: #E8F5E9;
  --md-green: #4CAF50;
  --md-green-900: #1B5E20;

  --md-blue-50: #E3F2FD;
  --md-blue-100: #BBDEFB;
  --md-blue-400: #42A5F5;
  --md-blue: #2196F3;
  --md-blue-600: #1E88E5;
  --md-blue-900: #0D47A1;

  --md-deep-purple-900: #311B92;

  --md-blue-gray-50: #ECEFF1;

  --md-gray-50: #FAFAFA;
  --md-gray: #607D8B;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  color: var(--pv-text-primary);
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol';
  font-family: var(--pv-font-body);
}
html.viewport-height body {
  height: 100vh;
  height: -webkit-fill-available;
}

h1 {
  font-family: var(--pv-font-accent);
  font-weight: 800;
  font-size: 3rem;
}
h2 {
  font-family: var(--pv-font-accent);
  font-weight: 800;
  font-size: 2rem;
}
h3 {
  font-family: var(--pv-font-accent);
  font-weight: 800;
  font-size: 1.5rem;
}
h4 {
  font-family: var(--pv-font-accent);
  font-weight: 700;
  font-size: 1rem;
}
h5 {
  color: var(--pv-text-secondary);
  font-size: 1rem;
  font-weight: 500;
}
h1,h2,h3,h4,h5 {
  margin: 0.667em 0 0.133em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
select,
textarea {
  border: 1px solid var(--pv-text-primary);
  border-radius: 4px;
  font-size: inherit;
  font-family: inherit;
  padding: 0.5em;
  margin: 0.5rem 0;
}
textarea {
  white-space: pre-wrap;
}

td input[type="text"] {
  margin: 0;
  width: 100%;
  min-width: 20ch;
}

input[type='submit'] {
  margin-top: 1em;
  cursor: pointer;
}

input.action-primary {
  border: none;
  font-size: inherit;
}

input.error {
  border: 1px solid #c00;
}

input[type='checkbox'].flush-left {
  margin-left: 0;
}

input[type="text"].search {
  padding-left: 2rem;
  padding-right: 48px;
  background-image: url('/static/icon-search.svg');
  background-repeat: no-repeat;
  background-size: 1.2rem;
  background-position: 0.5rem;
}

label .label {
  font-family: var(--pv-font-accent);
  font-weight: 700;
  font-size: 1rem;
}
label.row {
  display: flex;
  align-items: center;
}
input[type='checkbox'] + * {
  margin-left: 0.5em;
}
label.row input[type='checkbox'] {
  align-self: baseline;
}
label.row.padded {
  padding-top: 1em;
  padding-bottom: 0.5em;
}

a {
  text-decoration: none;
}
a, a:visited {
  color: var(--pv-dark-blue);
}
a:hover {
  text-decoration: underline;
}
header a, header a:visited,
.secondary-nav a, .secondary-nav a:visited,
footer a, footer a:visited {
  color: inherit;
}

.hidden {
  display: none !important;
}
.invisible {
  visibility: hidden;
}

footer {
  background: linear-gradient(180deg, #80A695 0%, #8EC28F 100%);
}

.action-primary, .action-secondary {
  font-family: var(--pv-font-accent);
  font-weight: 500;
  font-size: inherit;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
.action-primary, a.action-primary {
  color: white;
  background: linear-gradient(180deg, #296DB3 0%, #6794C2 100%);
}
.action-primary.caution {
  background: linear-gradient(180deg, #D14343 0%, #802020 100%);
}
.action-secondary.caution {
  color: var(--pv-dark-red);
}
.action-primary[disabled] {
  background: linear-gradient(180deg, #ABABAB 0%, #828282 100%);
  cursor: initial;
}
.action-primary:hover:not([disabled]) {
  box-shadow: 0 0 20px 0 rgba(120, 120, 120, 0.2);
}
.action-secondary {
  color: var(--pv-dark-blue);
  background: none;
}
.action-secondary:hover:not([disabled]) .label {
  text-decoration: underline;
}
.action-primary, .action-secondary.padded {
  padding: 6px 14px;
}

h2.list-section-header {
  margin: 1.5rem 0 0.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--pv-font-accent);
  color: var(--pv-text-secondary);
  text-transform: uppercase;
}

.icon-label.small {
  font-size: 0.9em;
  font-family: var(--pv-font-body);
}
.icon-label.small .material-icons {
  font-size: 1.1rem;
}

.card {
  border-radius: 2px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  padding: 1em;
  background: white;
}

.card-dotted {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  border-radius: 2px;
  border: dashed darkgray;
  padding: 1em;
  background: white;
}

.banner {
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  background-color: #fff3cd;
  margin: 0.5rem 0rem 1.5rem;
}

.danger {
  color: red;
}

a.avatar-block {
  color: inherit;
  text-decoration: none;
}

a.avatar-block:hover {
  background-color: rgba(120, 120, 120, 0.1);
}

a.avatar-block:active {
  background-color: rgba(120, 120, 120, 0.1);
}

.avatar-block {
  display: flex;
  flex: 1;
  align-items: flex-start;
  margin: 8px -8px;
  padding: 8px;
  min-height: 3.333rem;
}

.avatar-block div {
  padding: 0 1em;
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  line-height: 1.35;
}
.avatar-block h4 {
  margin-top: 0.5em;
}

img.avatar {
  width: 3.333rem;
  height: 3.333rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 0 4px 0 rgba(120, 120, 120, 0.4);
}
img.avatar.small {
  width: 2.5rem;
  height: 2.5rem;
}
img.avatar.tiny {
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  box-shadow: unset;
}

img.logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.profile-hero {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0.5em 0;
  overflow: hidden;
  border: 4px solid white;
  border-radius: 999px;
  box-shadow: 0 0 8px 0 rgba(120, 120, 120, 0.4);
}
.profile-hero img {
  display: block;
  width: 144px;
  height: 144px;
  object-fit: cover;
}
.profile-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1em;
  cursor: pointer;
}
.profile-hero-container:hover #profile-image-edit {
  opacity: 1;
}
.profile-hero-container:hover #profile-image-edit .material-icons {
  transform: scale(1);
}
#profile-image-edit {
  border-radius: 999px;
  color: white;
  text-shadow: 0px 0px 4px black;
  opacity: 0;
}
#profile-image-edit .material-icons {
  transition: transform 0.2s;
  transform: scale(1.2);
  transform-origin: bottom;
}

.overlay {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #00000040;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s;
}

.snackbar {
  position: fixed;
  bottom: 0em;
  margin: 2em;
  padding: 2em;
  background-color: #fff3cd;
  border-radius: 4px;
  box-shadow: 0 0 1em #9999;
  z-index: 10;
}

#scheduled-maintenance-warning-container {
  position: sticky;
  top: 0.5em;
  text-align: center;
  z-index: 1;
}

#scheduled-maintenance-warning {
  display: inline-flex;
  align-items: center;
  font-size: 0.9em;
  text-align: initial;
  margin: 0;
  padding: 0.5em;
  color: #664d03;
  background-color: #fff3cd;
  border: 1px solid #e5d4a1;
  border-radius: 2px;
  box-shadow: 0 0 8px 2px #9993;
}

.settings-container {
  max-width: 28rem;
}
.settings-container.prayer-team input[type="text"] {
  width: 100%;
}

.settings-error {
  font-size: 0.8em;
  color: var(--pv-medium-red);
}

#settings-profile-image-and-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 2rem;
}
#settings-name-fields {
  flex-grow: 1;
}
#settings-name-fields input[type="text"] {
  width: 100%;
}

.item-heading {
  display: block;
  margin: 4px 0;
  font-weight: 500;
}

#top-primary {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  color: var(--pv-text-secondary);
  border-top: 10px solid var(--pv-medium-green);
}

#top-primary.slim {
  padding: 0;
}

#logo {
  padding: 16px 0;
}

#slogan {
  flex: 1;
  min-width: 60vw;
  align-self: flex-end;
  text-align: end;
  letter-spacing: 0.02em;
}

#slogan .tagline {
  display: inline-block;
  font-style: italic;
}

@media (max-width: 60em) {
  html { font-size: 1em; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.667rem; }
  h3 { font-size: 1.333rem; }

  #slogan {
    display: none;
  }
}

#top-secondary {
  display: flex;
  justify-content: space-between;
  color: white;
  background-color: var(--md-blue-400);
  padding: 10px 0;
}

#top-secondary li a {
  display: flex;
  align-items: center;
}

#top-secondary li img {
  height: 16px;
  margin: 0 0.5em;
}

#top-secondary li img.circular {
  border-radius: 8px;
}

.secondary-nav {
  font-family: var(--pv-font-accent);
  color: var(--pv-dark-green);
  margin-bottom: 2rem;
}

.tabs {
  display: flex;
  align-items: flex-end;
  margin-bottom: 6px;
}
.tab {
  padding: 6px 14px;
  text-align: center;
  font-weight: 600;
}
.active.tab, a.active.tab {
  color: white;
  border-radius: 999px;
  background: linear-gradient(180deg, #318375 0%, #29873D 100%);
  position: relative;
}
.active.tab::after {
  content: ' ';
  background: url('/static/active-tab-arrow.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 27px 6px;
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  bottom: -5px;
}

header ul, footer ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 10px;
  list-style: none;
}

footer li {
  display: inline-block;
  margin: 5px 10px;
}

.flex {
  display: flex;
  align-items: center;
}
.flex.vertical {
  flex-direction: column;
}

.actions-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.actions-row-left {
  width: 80%;
  height: 10px;
  font-size: small;
  display: flex;
  justify-content: left;
  align-items: flex-end;
  padding-bottom: 10px;
  padding-top: 1px;
  padding-left: 0%;
}

.spacer {
  flex: 1;
}

.content-container {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.content-container.narrow {
  max-width: 28rem;
}

.content-container.flex {
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}

.fade-above, .fade-below {
  position: relative;
}
.fade-above::before, .fade-below::after {
  content: ' ';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
}
.fade-above::before {
  top: -4px;
  background: linear-gradient(180deg, transparent, rgba(60, 60, 60, 0.4));
}
.fade-below::after {
  bottom: -4px;
  background: linear-gradient(180deg, rgba(60, 60, 60, 0.4), transparent);
}

#slim-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-box {
  display: block;
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  resize: vertical;
  font-size: inherit;
  font-family: inherit;
  min-height: 6rem;
  border: 4px solid var(--pv-medium-blue);
  border-radius: 4px;
}
.chat-box:focus {
  box-shadow: 0px 0px 5px var(--pv-dark-blue);
  outline: none;
}

#action-container {
  position: relative;
}

.inset-send {
  position: relative;
}

.inset-send > textarea {
  padding-right: 56px;
}

.inset-send > button {
  position: absolute;
  right: 4px;
  bottom: 4px;
}

.aspect-ratio-box {
  height: 0;
  overflow: hidden;
  position: relative;
}

.aspect-ratio-box-inside {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.chat-item {
  display: flex;
  align-items: flex-end;
  margin: 1rem 4px;
  --chat-bubble: var(--pv-light-gray);
}

.chat-item.self {
  flex-direction: row-reverse;
  --chat-bubble: var(--pv-light-green);
}

.chat-item .avatar {
  margin-bottom: 12px;
  flex-shrink: 0;
}

.chat-item .bubble-stack {
  margin: 0 8px;
  min-width: 0;
  max-width: 36rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.chat-item.self .bubble-stack {
  align-items: flex-end;
}

.chat-item .bubble-image-container {
  width: 100%;
  margin: 4px 0;
}

.bubble-image {
  border-radius: 12px;
  object-fit: cover;
}

.chat-item .bubble {
  position: relative;
  padding: 1px 1em;
  background-color: var(--chat-bubble);
  border-radius: 12px;
  max-width: 100%;
}

.chat-item .bubble::after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  bottom: -6px;
  left: 0;
  border: 12px solid;
  border-bottom-width: 6px;
  border-color: transparent transparent transparent var(--chat-bubble);
}
.chat-item.self .bubble::after {
  left: auto;
  right: 0;
  border-color: transparent var(--chat-bubble) transparent transparent;
}

.bubble-image-container.preview {
  margin: 0 0 10px 2.5rem;
  padding-left: 14px;
}
.bubble-image-container.preview img {
  display: block;
}
.chat-item.preview {
  align-items: flex-start;
  margin: 0;
  --chat-bubble: var(--pv-light-green);
}
.chat-item.preview .bubble {
  border-top-left-radius: 0;
  margin-left: 14px;
  min-width: 0;
}
.chat-item.preview .bubble::after {
  left: -10px;
  top: 0;
  bottom: auto;
  border-width: 0 10px 16px 0;
  border-color: transparent var(--chat-bubble) transparent transparent;
}

.chat-item .bubble p {
  margin: 1em 0;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.chat-item .timestamp {
  margin: 6px 24px;
}
.chat-item.self .timestamp {
  text-align: end;
}

.chat-item .bubble audio {
  max-width: 100%;
}

.colored-label {
  color: var(--md-blue);
  font-size: 0.8em;
}

.timestamp {
  font-size: 0.75rem;
  color: var(--pv-text-secondary);
}

.history-item {
  margin-bottom: 1em;
}

.sharing-info {
  color: var(--pv-text-secondary);
  font-size: 0.9em;
  font-style: italic;
  margin-bottom: 0.5em;
}

.supporter-responses {
  margin: 1.5rem 4rem;
  text-align: center;
  color: var(--pv-text-secondary);
  font-style: italic;
}

.icon-label {
  font-family: var(--pv-font-accent);
  display: inline-flex;
  align-items: center;
}
.icon-label .material-icons {
  margin: 0 4px;
}

.icon-label.vertical {
  flex-direction: column;
  padding: 8px;
  text-align: center;
}

.icon-label.vertical .material-icons {
  font-size: 1.778rem;
  margin: 4px;
}
.icon-label.vertical img {
  width: 1.778rem;
  height: 1.778rem;
  margin: 4px;
}

.icon-label.vertical.flex {
  flex: 1;
}

a.icon-label {
  text-decoration: none;
}

.app-bar {
  display: flex;
  color: var(--md-blue);
  align-items: center;
  padding: 8px;
}

.app-bar-title {
  flex: 1;
  text-align: center;
  font-weight: 500;
}

.uppercase {
  text-transform: uppercase;
}

.expand {
  flex: 1;
}

.indent {
  margin: 0 3rem;
}

.expandable > input {
  display: none;
}

.expandable > input:not(:checked) ~ .show-expanded,
.expandable > input:checked ~ .show-collapsed {
  display: none;
}

.expandable > label {
  font-size: 0.8em;
}

.scrollable {
  overflow: auto;
  flex: 1;
  min-height: 0;
  position: relative;
}
.scrollable::before, .scrollable::after {
  content: '';
  display: block;
  width: 100%;
  height: 8px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}
.scrollable::before {
  background: linear-gradient(white 50%, rgba(255, 255, 255, 0));
}
.scrollable::after {
  background: linear-gradient(rgba(255, 255, 255, 0), white 50%);
}

#thread-scroll-container {
  display: flex;
  flex-direction: column;
}
#thread-container {
  flex-grow: 1;
}

.section-break {
  margin-top: 3rem;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}

a.material-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  text-decoration: none;
  color: inherit;
  border-radius: 50%;
}

a.material-icons:hover {
  background-color: rgba(120, 120, 120, 0.1);
}

button.material-icons {
  min-width: 48px;
  min-height: 48px;
  color: var(--md-blue);
  border-radius: 50%;
  user-select: none;
}

button.flat {
  background: none;
  border: none;
  color: var(--pv-dark-blue);
  font-size: inherit;
  cursor: pointer;
}

button.flat[disabled] {
  color: var(--md-gray);
  cursor: initial;
}

button.flat:hover {
  background-color: rgba(120, 120, 120, 0.1);
}
button.flat:hover .action-primary:hover,
button.flat:hover .action-secondary:hover {
  box-shadow: none;
}

button.flat[disabled]:hover {
  background: none;
}

button.flat:active {
  color: var(--md-blue-600);
  text-shadow: 0px 0px 5px var(--md-blue);
}

button.flat.icon-inside-field {
  position: absolute;
  right: 4px;
  top: 50%;
  margin-top: -16px;
  padding: 4px;
  width: 32px;
  height: 32px;
  border-radius: 16px;
}

.loading-spinner {
  display: inline-block;
  border: 3px solid var(--pv-light-gray);
  border-top: 3px solid var(--pv-dark-blue);
  border-radius: 999px;
  width: 24px;
  height: 24px;
  margin: 12px;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.highlight-fade {
  position: relative;
  z-index: 0;
}

.highlight-fade::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 3px solid var(--pv-dark-blue);
  border-radius: inherit;
  opacity: 0;
  animation: highlight-fade 1s ease-out;
  z-index: -1;
}

@keyframes highlight-fade {
  from { opacity: 1; }
}

pv-status {
  display: block;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  padding: 8px;
  font-weight: 500;

  border-color: var(--md-blue);
  background-color: var(--md-blue-50);
  color: var(--md-blue-900);
}
pv-status.alert-success {
  border-color: var(--md-green);
  background-color: var(--md-green-50);
  color: var(--md-green-900);
}
pv-status.alert-error {
  border-color: var(--md-red);
  background-color: var(--md-red-50);
  color: var(--md-red-900);
}

.error-message {
  background-color: var(--pv-light-red);
  color: var(--pv-dark-red);
  padding: 0.5em;
  border: 1px solid var(--pv-dark-red);
  border-radius: 4px;
}

.validation-error-text {
  font-size: 0.9em;
  color: var(--md-red-900);
}

.error-code {
  font-size: 0.8em;
  color: var(--pv-text-secondary);
}

#popup-scrim {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 10;
}

#popup-container {
  background-color: #eee;
  margin: auto;
  border-radius: 2px;
  box-shadow: 0px 0px 24px 4px rgba(33, 47, 97, 0.2);
  overflow: auto;
  max-height: 95vh;
}

#main-content {
  flex: 1 1 auto;
}

ul.ellipsized li:nth-child(n+4) {
  display: none;
}
ul.ellipsized li:nth-child(3)::after {
  content: '...';
  display: block;
}
ul.ellipsized li:nth-child(3):last-child::after {
  content: unset;
  display: unset;
}

.about-page #main-content {
  margin: 0;
  padding: 0;
  max-width: unset;
  color: white;
}

.about-page #main-content div {
  box-sizing: border-box;
}

.about-page #main-content .section {
  position: relative;
  overflow: hidden;
}

.about-page #main-content .section.solid {
  background-color: var(--pv-medium-green);
}

.about-page #main-content img.hero {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page #main-content h1 {
  flex-basis: 100%;
}

.about-page #main-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-page #main-content ul li {
  margin-bottom: 1em;
}

.about-page #main-content ul li p::before {
  content: "• ";
}

.about-page #main-content #icon-logo {
  flex-basis: 100%;
  height: 8em;
  margin-top: 2em;
}

.about-page #main-content h3 {
  text-align: center;
}

.about-page #main-content .section .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 3em;
  padding-bottom: 4em;
}

.about-page #main-content #section-what .content {
  max-width: 72em;
  margin: auto;
}

.about-page #main-content #section-mission h1 {
  color: var(--pv-bright-green);
}

.about-page #main-content #section-about {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  color: black;
}

.about-page #main-content #section-about img {
  max-height: 30em;
  object-fit: cover;
  object-position: center top;
}

.about-page #main-content #about-the-founders {
  margin: auto;
  padding: 3em;
}

.about-page #main-content .column {
  display: inline-block;
  padding: 0 2em;
}

.about-page #main-content #section-about > * {
  width: 100%;
}

@media (min-width: 60em) {
  .about-page #main-content .column {
    max-width: 30em;
  }

  .about-page #main-content #section-mission .column {
    max-width: 20em;
  }

  .about-page #main-content #section-about > * {
    width: 50%;
  }
}

.about-page #main-content .column.narrow {
  max-width: 20em;
  padding: 0 2em;
}

.about-page #main-content .column.narrow img {
  display: block;
  height: 8em;
  margin: 3em auto 2em auto;
}

.about-page #main-content .smaller {
  font-size: 0.9rem;
}

.centered {
  text-align: center;
}

.about-page #main-content #pie-chart {
  margin-top: 4rem;
  max-width: 16em;
}

.about-page #main-content #pie-chart-label {
  max-width: 24em;
}

.about-page footer {
  margin: 0;
}

.legal-document #main-content {
  line-height: 1.5;
  font-size: 0.833rem;
}

.legal-document #main-content h1 {
  text-align: center;
  font-weight: 200;
}

.legal-document #main-content h3 {
  font-weight: 400;
}

.my-communities #main-content {
  max-width: 60em;
  width: 100%;
  margin: 0 auto;
}

.my-communities #main-content h1 {
  color: var(--pv-dark-green);
  font-weight: 200;
}

.my-communities #main-content a {
  color: var(--pv-dark-green);
  text-decoration: none;
}

.my-communities #main-content a:hover {
  text-decoration: underline;
}

.my-communities #main-content table {
  width: 100%;
  color: #333;
}

.my-communities #main-content #community-name {
  width: 30%;
}

.my-communities #main-content #last-updated {
  width: 15%;
}

.new-community #main-content input[type="text"],
.new-community #main-content textarea {
  font-size: inherit;
  width: 36em;
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.new-community #main-content input[type="submit"] {
  font-size: inherit;
}

.community-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.community-image.large {
  width: auto;
  height: 50px;
  margin: 0.5em 0.5em 0;
}

.body-shadow {
  border-top: 1px solid var(--pv-light-gray);
  background: linear-gradient(180deg,
    rgba(247, 247, 247, 1), rgba(247, 247, 247, 0));
  background-size: 100% 12rem;
  background-repeat: no-repeat;
}

.heading-with-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 0.5em 0 0;
}
.heading-with-action > * {
  margin: 0.5em 0;
}

.sticky-heading {
  position: sticky;
  top: 0;
  background: linear-gradient(0deg, rgb(255,255,255,0), #fff 0.5rem);
  padding-bottom: 0.5rem;
}

#prayer-team-heading {
  align-items: baseline;
  justify-content: flex-start;
  margin-bottom: 0.5em;
}
#prayer-team-heading > h1 {
  margin: 0;
}

.columns {
  display: flex;
  align-items: flex-start;
}
.column-spacer {
  flex: 0 0 2rem;
}
.dashboard-tabs {
  margin: 0 -0.5em;
}
.dashboard-tabs label {
  display: inline-block;
  padding: 0.8em 0.5em 0.2em;
  margin: 0 0.5em;
  cursor: pointer;
}
.dashboard-tabs label.active {
  font-weight: 700;
  color: var(--pv-dark-green);
  border-bottom: 3px solid var(--pv-dark-green);
}
.dashboard-column {
  flex: 1;
  min-width: 0;
}
.dashboard-column h3 {
  font-family: var(--pv-font-body);
  padding-right: 1em;
}

.dashboard-column .card {
  margin: 1em 0 1.5em;
}
.dashboard-column .card-dotted {
  margin: 1em 0 1.5em;
}

.card p {
  line-height: 1.4;
  margin: 0;
  overflow-wrap: break-word;
}
.card p + p {
  margin: 1em 0 0;
}
.card > img {
  margin-bottom: 0.5em;
}

.post-attribution {
  margin-top: 1em;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}
.post-attribution .name-and-timestamp {
  display: flex;
  align-items: flex-end;
  text-align: right;
  flex-direction: column;
  margin: 0 0.5em;
}
.post-attribution .name-and-timestamp .name {
  font-weight: bold;
}
.post-attribution .post-edit {
  align-self: flex-end;
  margin-left: -8px;
  margin-bottom: 4px;
}

.engagement-info {
  font-size: 0.9rem;
  text-align: center;
  margin: 1.5em 0;
}

html.full-page-modal {
  background-color: #f4f4f4;
}

.modal {
  position: relative;
  border-radius: 4px;
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.2);
  padding: 1rem;
  background-color: #ffffff;
  max-width: 36rem;
  max-height: 100%;
  overflow: auto;
}
.modal::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 10px;
  background-color: var(--pv-medium-green);
}
.modal.full-bleed {
  padding: 0;
}
.modal form {
  margin: 1rem 0;
}
.modal input[type="text"],
.modal input[type="email"],
.modal input[type="url"],
.modal input[type="password"],
.modal input[type="submit"],
.modal select,
.modal textarea {
  width: 100%;
}
.modal-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
button.full-width {
  width: 100%;
}

.single-line-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.no-shrink {
  flex-shrink: 0;
}

@media not screen and (max-width: 47em) {
  .mobile-only {
    display: none;
  }
  .secondary-nav {
    margin-top: 16px;
  }
  .modal {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media screen and (max-width: 47em) {
  .non-mobile-only,
  .dashboard-column {
    display: none;
  }
  input[type="radio"]:checked + .dashboard-column {
    display: block;
  }
  .content-container {
    max-width: 42rem;
  }
}

table.highlight-table {
  border-collapse: collapse;
}

table.highlight-table, table.highlight-table th, table.highlight-table td {
  border: 1px solid #ccc;
}

table.highlight-table th {
  background: #ffffeb;
  color: var(--pv-dark-green);
  font-weight: normal;
  font-size: 1.2em;
  text-align: initial;
}

table.highlight-table tr:nth-child(even) {
  background: #f2f2f2;
}

table.highlight-table td, table.highlight-table th {
  padding: 0.5em;
}

.data-table-container {
  overflow-x: auto;
}

table.data {
  font-variant-numeric: tabular-nums;
  border-spacing: 0px;
  width: 100%;
}

table.data span.material-icons {
  vertical-align: middle;
}

table.data th {
  text-align: left;
}
table.data th.sortable {
  cursor: pointer;
}

table.data:not(.no-background) tr:nth-child(even) {
  background-color: rgba(180, 180, 180, 0.1);
}

table.data td, table.data th {
  padding: 0.5em 1em;
}
table.data td.icon {
  width: 48px;
  padding: 0;
}
table.data tr.selected {
  background-color: var(--pv-light-blue);
}
td.icon button.material-icons.flat {
  color: inherit;
  font-size: 24px;
}

th.numeric {
  text-align: center;
}
td.numeric {
  text-align: right;
}
td img {
  display: block;
}

td select {
  padding: 4px;
  margin: -4px 0;
  background: rgba(255, 255, 255, 0.8);
}

.row-link {
  cursor: pointer;
}
.row-link.row-link:hover {
  background-color: rgba(120, 120, 120, 0.2);
}

.data-table-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

ul.manage-links {
  list-style: none;
  margin: 0;
  padding: 0;
  float: right;
}
ul.manage-links li {
  display: inline-block;
  margin: 0 8px;
}
ul.manage-links a {
  text-transform: uppercase;
  text-decoration: none;
}
ul.manage-links a::hover {
  text-decoration: underline;
}

footer {
  color: white;
  background-color: var(--md-blue-400);
  padding: 20px 0;
  font-size: 0.833rem;
  margin-top: 4em;
}

footer ul {
  margin-bottom: 0;
}

footer p {
  padding: 0 20px;
}

footer .donate {
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.2);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  align-items: stretch;
  flex-direction: column;
  position: absolute;
  z-index: 3;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 8em;
}

.dropdown:hover .dropdown-content {
  display: flex;
}
.dropdown:focus-within .dropdown-content {
  display: flex;
}
.dropdown-content.open {
  display: flex;
}

ul.dropdown-content {
  margin: 0;
  padding: 0.5rem 0;
}
.dropdown-content a,
.dropdown-content a:visited {
  display: block;
  color: var(--pv-text-primary);
  font-family: var(--pv-font-accent);
}
.dropdown-content.smaller {
  font-size: 0.9em;
}

.dropdown.menu li {
  display: block;
}
.dropdown.menu li a, .dropdown.menu li button {
  padding: 0.5rem 1.5rem;
  width: max-content;
}
ul.menu {
  list-style: none;
}
ul.menu li button {
  padding: 0.5em 1.5em;
}

.title-row {
  display: flex;
  align-items: center;
  margin: 0.133rem 0;
}
.title-row h1, .title-row h2 {
  margin: 0;
  flex: 1;
}

.centered-column {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.full-page-modal .centered-column {
  width: 36rem;
  max-width: 100%;
}

pv-file-picker {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 0.5em;
  vertical-align: top;
}
pv-file-picker button.action-secondary:active {
  background: rgba(120, 120, 120, 0.1);
}

.zero-state-label {
  margin: 2em;
  padding: 1em;
  text-align: center;
  color: var(--pv-text-secondary);
}

.tooltip-top-arrow {
  position: relative;
  background-color: #fff;
  border-radius: 1rem;
  filter: drop-shadow(0 0 1rem rgba(0, 0, 0, 0.2));
  padding: 1px 1rem;
  margin: 1rem 2rem;
  line-height: 1.3;
}
.tooltip-top-arrow::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: var(--tooltip-arrow-left, 75%);
  border-style: solid;
  border-color: transparent;
  border-bottom-color: #fff;
  border-width: 1rem;
  margin-left: -1rem;
}

#chatra {
  z-index: 5 !important;
}

.form-choice-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  margin-top: 0.5rem;
  gap: 0.5rem;
}
@media (min-width: 24em) {
  .form-choice-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 48em) {
  .form-choice-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
.form-choice {
  box-sizing: content-box;
  padding: 8px;
  font-size: inherit;
  font-family: var(--pv-font-accent);
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
  box-shadow: 0 1px 1px 0 rgba(120, 120, 120, 0.2);
  color: inherit;
  cursor: pointer;
}
.form-choice:not(.active):hover {
  border-color: #bbb;
  box-shadow: 0 1px 2px 0 rgba(120, 120, 120, 0.2);
}
.form-choice.active {
  padding: 7px;
  border: 2px solid var(--pv-dark-green);
  color: var(--pv-dark-green);
  box-shadow: 0 1px 8px 0 rgba(120, 120, 120, 0.3);
  background-color: rgba(204, 240, 204, 0.5);
}

.marketing-promo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
}
@media screen and (max-width: 47em) {
  .marketing-promo {
    grid-template-columns: 1fr;
  }
}

button.google-sign-in {
  width: 191px;
  height: 46px;
  background-image: url('/static/btn_google_signin_light_normal_web@2x.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
button.google-sign-in:active {
  background-image: url('/static/btn_google_signin_light_pressed_web@2x.png');
}
button.google-sign-in[disabled] {
  background-image: url('/static/btn_google_signin_light_disabled_web@2x.png');
  cursor: initial;
}

div.messages {
  background-position: 8px 8px;
  background-repeat: no-repeat;
  border: 1px solid;
  margin: 1em 0;
  padding: 10px 1.5em 10px 50px;
  position: relative;
}
div.messages ul {
  margin: 0 0 0 1em;
  padding: 0;
}
div.messages ul li {
  list-style-image:none;
}
div.status {
  background-image: url(/static/legacy/message-24-ok.png);
  border-color: #be7;
}
div.status, .ok {
  color: #234600;
}
div.status,table tr.ok {
  background-color:#f8fff0;
}
div.warning {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5;
}
div.error {
  background-image: url(/static/legacy/message-24-error.png);
  border-color: #ed541d;
}
div.error, .error {
  color: #8c2e0b;
}
div.error, table tr.error {
  background-color: #fef5f1;
}
div.error p.error {
  color: #333;
}
.dismiss {
  display: block;
  position: absolute;
  top: .4em;
  right: .4em;
  width: 1.8em;
  background: #ed541d;
  border: 0;
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-shadow: -1px -1px 0px rgba(0,0,0,0.4);
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 1px 1px 0px rgba(0,0,0,0.4);
  opacity: .5;
  cursor: pointer;
  transition: .1s opacity linear;
}
.dismiss::before {
  content: '\2715';
}
.error .dismiss {
  background: #ed541d;
}
.status .dismiss {
  background: transparent;
  color: #000;
  text-shadow: none;
}
.dismiss:hover, .status .dismiss:hover {
  color: #000;
  text-decoration: none;
  text-shadow: none;
  opacity: .5;
}
.status .dismiss .element-invisible {
  display: none;
}
