:root {
  --brand-primary: #bc204b;
  --brand-secondary: #e07e3c;
  --root-font-face: 'neue haas display',Helvetica,Arial,Lucida,sans-serif;
  --header-font-face: 'termina',Helvetica,Arial,Lucida,sans-serif;
}

/* Event Details */
#Download-ICS {
  display: none;
  float: left;
  padding: 0.5rem 2rem;
  font-size:0.8rem;
}
#Download-ICS i {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1rem;
}

/* Househodl PRF Widget */
dcc-householdprf h3 {
  font-size: 24px;
  font-family: 'Open Sans';
  font-weight: bold;
  color: #606060;
}

.dccw-prf-cardcontainer {
  min-height:100px;
  width: 100%;
  display: grid;
  grid-template-columns: 48% 48%;
  grid-column-gap: 4%;
  grid-row-gap: 1rem;
}

.dccw-prf-card {
  margin-bottom: 1em;
  margin-right: 2%;
  float: left;
  padding: 0.5em 1em;
  background-color: #fafafa;
  border-radius: 0.25em;
  box-shadow: 0em 0.15em 0.25em 0em rgb(0 0 0 / 10%);
}

.dccw-prf-person {
  font-weight: bold;
  font-size: 1.1em;
  padding-bottom: 0.25em;
}

.dccw-prf-person-status {
  font-style: italic;
  font-size: 0.95em;
}

#downloadPRF {
  float: right;
  height: 0;
  margin-top: -1.4em;
}

@media (max-width: 800px) {
    .dccw-prf-card {
        width: 100%;
        margin-right: 0;
        float: none;
    }
}

/* Prayer Wall */
wa-input [slot~='hint'], wa-input slot [name~='hint'], slot [part~='hint'] {
  text-align: left;
  font-style: italic;
  font-size: 0.8rem;
}

#prayer-wall {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: space-between;
  gap: 1% 1%;
  background-color: transparent;
}
.prayer-card {
  background-color: #ffffff;
  margin-bottom: 1rem;
  border-radius: 0;
  padding: 1rem;
  flex: 1 1 100%;
  box-shadow: 0.15em 0.25em 0.15em rgb(0 0 0 / 0.1)
}
.prayer-card.praise-report {
  background: white;
  background-image: linear-gradient(170deg, rgb(255 164 0 / 1%), rgb(255 164 0 / 7%));
  border-image: linear-gradient(170deg, rgb(255 164 0 / 10%), rgb(255 164 0 / 40%));
  border-image-slice: 1;
  border-width: 2px;
  border-style: solid;
}
@media screen and (max-width: 1000px) {
  .prayer-card {
      flex: 1 1 100%;
  }
}
.prayer-name {
  font-family: 'termina test heavy',Helvetica,Arial,Lucida,sans-serif;
  font-weight: bold;
  float: left;
  width: 70%;
  color: #333;
}
.prayer-date {
  font-family: 'termina test heavy',Helvetica,Arial,Lucida,sans-serif;
  font-weight: bold;
  float: right;
  width: 30%;
  text-align: right;
  color: #333;
}
.prayer-description {
  position: relative;
  margin: 2rem 1rem 1rem 2rem;
  padding: 0;
  font-style: italic;
  line-height: 1.25rem;
  overflow: hidden;
  display: -webkit-inline-box;
  -webkit-box-pack: end;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  color: #333;
}
@media screen and (max-width: 800px) {
  .prayer-description {
    margin: 1rem 0 1rem 0;
  }
}
.prayer-description-full {
  -webkit-line-clamp: initial;
}
.prayer-read-more {
  color: var(--brand-secondary);
    font-weight: bolder;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    text-decoration: underline;
    cursor: pointer;
    display: inline;
    position: absolute;
    top: 3rem;
    z-index: 10;
    width: 110%;
    right: -5%;
    height: 5rem;
    border: 0;
    line-height: 8rem;
    background-image: linear-gradient(179deg, rgb(255 255 255/0) 5%, rgb(255 255 255/1) 70%);
    background-color: transparent;
}
.praise-report .prayer-read-more {
  background-image: linear-gradient(178deg, rgb(255 255 255/0) 10%, rgb(255 249 242/1) 70%);
}
@media screen and (max-width: 1000px) {
  .prayer-card {
    background-image: linear-gradient(175deg, rgb(255 255 255/0) 10%, rgb(255 255 255/1) 70%);
  }
}
.prayer-counter {
  text-align:center;
  font-style:italic;
  font-size: 0.8em;
  color: #777;
}
.prayer-action {
  text-align: right;
}
@media (max-width: 690px) {
    .prayer-action {
        /*width: 100%;*/        
        max-width: none;
    }
}
.prayer-button {
  font-size: 0.85em;
  padding: 0.75rem 2rem;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--brand-primary);
  border: none;
  border-radius: 2rem;
}
button#loadMorePrayers {
  margin: 2rem auto;
}
#reload-prayer-wall {
  width: 100%;
  text-align: right;
  margin-bottom: 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-style: italic;
  color: #555;
}
#reload-prayer-wall:hover {
  text-decoration: underline;
}
.new-prayers-available {
  color: var(--brand-secondary) !important;
  font-style: normal !important;
  font-weight: bold;
}
.praise-report .prayer-button {
  background-color: var(--brand-secondary);
}
.prayer-is-praying {
  background-color: transparent;
  border: 1px solid var(--brand-primary);
  cursor: initial;
  color: var(--brand-primary);
  background-color: white;
}
.praise-report .prayer-button.prayer-is-praying {
  color: var(--brand-secondary);
  color: var(--brand-secondary);
  background-color: transparent;
  border-color: var(--brand-secondary);
}

div#prayerStatusDialog, div#prayer-wall-status-message {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.prayerStatusNone{
  opacity: 0;
  padding: 0;
}

.prayerStatusSuccess{
  background-color: white;
  padding: 1rem;
  font-weight: bold;
  border: 1px solid lightgreen;
  opacity: 1;
  transition: opacity 0.5s ease, padding 0.5s ease;
}

.prayerStatusFailure{
  background-color: white;
  padding: 1rem;
  font-weight: bold;
  border: 1px solid lightgreen;
  opacity: 1;
  transition: opacity 0.5s ease, padding 0.5s ease;
}

/* Prayer Wall Skeleton Loading */
#prayer-wall div:nth-child(1 of .prayer-wall-skeleton) {
  opacity: 0.9;
}

#prayer-wall div:nth-child(2 of .prayer-wall-skeleton) {
  opacity: 0.6;
}

#prayer-wall div:nth-child(3 of .prayer-wall-skeleton) {
  opacity: 0.4;
}

.prayer-name sl-skeleton {
  width: 200px;
  height: 1.25rem;
}

.prayer-date sl-skeleton {
  width: 100px;
  height: 1.25rem;
  float: right;
}

.prayer-description sl-skeleton:nth-child(1) {
  width: 95%;
  margin-bottom: 5px;
  margin-top: 10px;
}

.prayer-description sl-skeleton:nth-child(2) {
  width: 99%;
  margin-bottom: 5px;
}

.prayer-description sl-skeleton:nth-child(3) {
  width: 97%;
  margin-bottom: 5px;
}

.prayer-description sl-skeleton:nth-child(4) {
  width: 66%;
  margin-bottom: 5px;
}

.prayer-action sl-skeleton {
  width: 145px;
  float: right;
  height: 42px;
}

/* Event Participants Cards */
.event-title h2 {
  text-align: center;
  font-weight: bold;
  font-size: 2.5rem;
  line-height: 2.5rem;
}

.event-start-date {
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
}

.event-registered-count {
  text-align: center;
  font-size: 1.15rem;
}

#event-participants {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: space-between;
  gap: 1% 1%;
  margin-top: 2rem;
}
.participant-card {
  background-color: #ffffff;
  margin-bottom: 1rem;
  border-radius: 0 0 4px 4px;
  padding: 0.5rem;
  flex: 1 1 100%;
  box-shadow: 0.15em 0.25em 0.15em rgb(0 0 0 / 0.1);
  display: grid;
  grid-template-columns: 49% 49%;
  grid-gap: 5px 2%;
}

.participant-name {
  font-family: 'DM Serif Display';
  font-weight: bold;
  font-size: 1.25rem;
  display: inherit;
  grid-column-end: span 2;
}

.registration-date {
  display: inherit;
  grid-column-end: span 2;
}

.participant-paid {
  display: inherit;
  grid-column-start: 1;
}

@media (max-width: 1000px) {
  .participant-card {
    display: inline-block;
  }
}


/* Quick Sign In Forms - Events and Groups */
dcc-eventsignin, dcc-groupsignin {
  display: block;
  width: 100%;
  max-width: 650px;
  margin: auto;
}

dcc-eventsignin #header-image, dcc-groupsignin #header-image {
  height: 0;
  padding-bottom: 50%;
  width: 105%;
  margin-left: -2.5%;
  background-size: cover;
  background-position: center center;
}

dcc-eventsignin h2, dcc-groupsignin h2 {
  margin-top: 1rem;
  font-weight: bold;
}

div#dcc-signinform {
  padding: 0 1rem;
}

form#sign-in-form {
  position: relative;
}

form#sign-in-form fieldset {
  border: none;
}

#dcc-signinform #form-description-text {
  text-align: center;
  padding: 1rem 0;
}

#dcc-signinform .datapoint {
  font-weight: bold;
}

#dcc-signinform .form-group {
  margin-bottom: 1rem;
  width: 100%;
  position: relative;
}

#dcc-signinform .form-group input {
  width: 100%;
  box-sizing: border-box;
}

#dcc-signinform .submit-container {
  text-align: center;
}

#sign-in-confirmation-message {
  margin-top: 2rem;
  text-align: center;
}

.btn-reset {
  display: none;
  background-color: transparent;
  border: none;
  font-size: 0.75rem;
  text-decoration: underline;
  color: gray;
  position: absolute;
  right: 2%;
  cursor: pointer;
  z-index: 100;
}

div#checkboxInstructions {
  width: 100%;
  text-align: center;
  color: #777;
}

.checkbox label {
  text-align: center;
  font-size: 1.1rem;
  font-style: italic;
  color: #777;
  display: block;
  margin: 1rem 0;
  background-color: rgb(0 0 0 / 0.01);
  border: 2px solid rgb(0 0 0 / 0.05);
  border-radius: 0.5rem;
  padding: 1rem;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  transition: border 0.25s ease, background-color 0.25s ease;
}

.checkbox label input {
  display: none;
}

.checkbox label:has(input:checked) {
  border: 2px solid lightgreen;
  background-color: white;
  color: #333;
  font-weight: bold !important;
  font-style: normal;
  transition: border 0.25s ease, background-color 0.25s ease;
}

/* Email Verification */
dcc-emailVerification {
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
}

/* File Downloader */
dcc-filedownloader {
  display: block;
  text-align: center;
  font-size: 1.25rem;
  margin: 2rem 0 4rem 0;
}

#file-downloader-header {
  font-weight: bold;
  font-size: 1.25em;
  line-height: 2em;
}

/* Print Styling */
@media print {
  dcc-eventsignin, dcc-groupsignin {
    max-width:100%;
    padding: 5%;
    display: grid;
    grid-template-columns: 45% 45%;
    grid-column-gap: 5%;
    transform: rotate(180deg);
  }
  dcc-eventsignin #header-image, dcc-groupsignin #header-image {
    display: none !important;
  }
  dcc-eventsignin #qr-image, dcc-groupsignin #qr-image {
    display: block !important;
  }
  dcc-eventsignin #sign-in-form, dcc-groupsignin #sign-in-form {
    display: none !important;
  }
  #dcc-signinform #form-description-text {
    font-size: 22pt;
    line-height: 26pt;
    text-align: left;
  }
  #dcc-signinform .datapoint {
    display: block;
  }
}

/* Event Metrics */
div#dcc-eventmetrics {
  font-family: var(--root-font-face);
  width: 100%;
  max-width: 700px;
  margin: auto;
}

.overlay-active {
  position: absolute;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  background: rgba(0 0 0 / 0.5);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  left: 0;
  top: 0;
}

#dcc-eventmetrics h3 {
  margin: 0;
  font-family: var(--header-font-face);
}

.dcc-eventmetrics-event {
  width: 100%;
  margin: 0;
  padding: 0;
  margin-bottom: 1rem;
  background-color: #fafafa;
  display: grid;
  align-items: center;
  grid-template-columns: 25% 75%;
  cursor: pointer;
}

.open-event-metric {
  position: absolute;
  /* display: inline-block; */
  top: 4rem;
  max-width: 700px;
  z-index: 100;
  cursor: default;
  box-shadow: 0 0 3rem 0 rgba(0 0 0 / 0.3);
}

.dcc-eventmetrics-event:hover {
  filter: brightness(0.98);
}

.open-event-metric:hover {
  filter: none;
}

.event-thumbnail {
  width: 100%;
  height: 100px;
  background-color: #efefef;
  background-size: cover;
  background-position: center;
}

.event-description {
  display: inline-block;
  padding: 1.5rem 2rem;
  margin: 0;
}

.event-metrics {
  grid-column-start: 2;
  padding: 0 2rem;
  display: none;
}

.metric {
  padding: 0.5rem 0;
  font-weight: bold;
  text-transform: uppercase;
}

.metric:first-child {
  margin-top: 1.5rem;
}

.event-metric-form {
  grid-column-start: 2;
  padding: 1rem  2rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  display: none;
  border-top: 1px dashed lightgray;
  text-align: center;
}

.event-metric-form select, .event-metric-form input, .event-metric-form textarea {
  font-family: var(--root-font-face);
  width: 90%;
  font-size: 1.1rem;
  padding: 0.5rem 5%;
  margin-bottom: 0.5rem;
  border: 0;
  box-sizing: content-box;
  text-transform: uppercase;
}

.event-metric-form textarea {
  margin-top: 1rem;
  text-transform: none;
}

.event-metric-form button {
  font-size: 1.1rem;
  padding: 0.75rem 3rem;
  margin-top: 1rem;
  background-color: var(--brand-primary);
  color: white;
  font-weight: bold;
  border: 0;
  border-radius: 2rem;
  text-transform: uppercase;
}

.close-event-metrics {
  display: inline;
  text-align: center;
  background-color: #efefef;
  grid-column: 2;
  padding: 0.5rem 0;
  margin-top: 2rem;
  font-style: italic;
  cursor: pointer;
  display: none;
}

.close-event-metrics:hover {
  background-color: #dfdfdf;
}

.open-event-metric .event-metrics, .open-event-metric > .event-metric-form, .open-event-metric > .close-event-metrics {
  display: block;
  grid-column: span 2;
}

/* Loading Spinner */
.dccw-spinnercontainer {
    width: 80px;
    margin-left: auto;
    margin-right: auto;
}

.lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-right: auto;
    margin-left: auto;
  }
  .lds-default div {
    position: absolute;
    top: -5px;
    width: 6px;
    height: 6px;
    background: #c7c9c8;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
  }
  .lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
  }
  .lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
  }
  .lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
  }
  .lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
  }
  .lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
  }
  .lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
  }
  .lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
  }
  .lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
  }
  .lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
  }
  .lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
  }
  .lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
  }
  .lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
  }
  @keyframes lds-default {
    0%, 20%, 80%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
  }

  /*Text Loading Indicator*/
  .lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 87px;
    right: -8px;
  }
  .lds-ellipsis div {
    position: absolute;
    width: 5px;
    height: 5px;
    top: -5px;
    border-radius: 50%;
    background: var(--brand-primary);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }