/*
	Theme Name: SJP
	Theme URI: https://sjp.mysites.io/
	Description: The theme for WordPress. Designed with LOVE by DigitalDesign.NYC
	Author: digitaldesignnyc.co
	Version: 1.a
*/

.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  word-wrap: normal !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 2em 0.5em 1em;
  padding: 0.2em 1em;
  border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
  display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
  border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7-not-valid-tip {
  display: block;
  position: absolute;
  top: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
  position: relative;
  top: -2ex;
  left: 1em;
  z-index: 100;
  border: 1px solid #dc3232;
  background: #fff;
  padding: 0.2em 0.8em;
  width: 24em;
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
  content: " ";
}

.wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  background-color: #23282d; /* Dark Gray 800 */
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin: 0 24px;
  position: relative;
}

form.submitting .wpcf7-spinner {
  visibility: visible;
}

.wpcf7-spinner::before {
  content: "";
  position: absolute;
  background-color: #fbfbfc; /* Light Gray 100 */
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 100%;
  transform-origin: 8px 8px;
  animation-name: spin;
  animation-duration: 1000ms;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wpcf7-spinner::before {
    animation-name: blink;
    animation-duration: 2000ms;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  from {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.wpcf7 [inert] {
  opacity: 0.5;
}

.wpcf7 input[type="file"] {
  cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
  cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
  cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
  direction: ltr;
}

.wpcf7-reflection > output {
  display: list-item;
  list-style: none;
}

.wpcf7-reflection > output[hidden] {
  display: none;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.website-accessibility {
  cursor: pointer;
}

::part(acsb-trigger),
button[part="acsb-trigger"],
button.container,
.hide234,
.wpcf7-response-output {
  display: none !important;
}

#formss-success {
  display: none;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

span.wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.formbox {
  grid-gap: 50rem;
}

.textfield-label ~ span.wpcf7-form-control-wrap .textfield-input {
  padding-top: 30rem;
  min-height: max(50px, 60rem);
}

.wpcf7-not-valid-tip {
  font-size: var(--f-s);
  color: var(--c3);
  display: none;
  padding-top: 5rem;
  border-top: var(--sl) solid;
  width: 100%;
}

span.wpcf7-form-control-wrap.recaptcha {
  margin-top: 30rem;
}

@media (min-width: 1024px) {
  .s5-2 {
    display: flex;
    gap: 150rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .s5-3 {
    width: calc(25% - 150rem);
  }

  .s5-3:nth-child(8n + 1),
  .s5-3:nth-child(8n + 2),
  .s5-3:nth-child(8n + 3),
  .s5-3:nth-child(8n + 4) {
    padding: 0;
  }

  .s5-3:nth-child(8n + 5),
  .s5-3:nth-child(8n + 6),
  .s5-3:nth-child(8n + 7),
  .s5-3:nth-child(8n + 8) {
    padding: 0;
  }
}

.awards-page-header {
  margin-bottom: 80rem;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70rem var(--gap);
}

.award-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28rem;
}

.award-card-media {
  position: relative;
  overflow: hidden;
  height: 100%;
  object-fit: cover;
}

.award-card-media::before {
  content: "";
  display: block;
  padding-top: 110%;
}

.award-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.award-card-media .fill {
  position: absolute;
  inset: 0;
}

.award-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-card-content {
  min-width: 0;
}

.award-card-body {
  min-width: 0;
}

.award-card-top {
  min-height: 40px;
  margin-bottom: 24rem;
  display: flex;
  align-items: center;
}

.award-card-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 40px;
}

.award-card-date {
  font-size: var(--f-s);
  line-height: 1.3;
  letter-spacing: -0.03em;
  opacity: 0.8;
  margin-bottom: 16rem;
}

.award-card-title {
  display: flex;
  font-size: var(--f-m);
  line-height: 1.3;
  font-weight: 400;
  font-stretch: expanded;
  letter-spacing: -0.03em;
}

.award-card-title::before {
  content: "";
  flex: none;
  width: 2px;
  background-color: var(--c3);
  margin-right: 12rem;
}

.award-card-text {
  color: var(--c8);
  margin-top: 20rem;
  position: relative;
}

.award-card-text::before {
  display: none;
}

.award-card-action {
  margin-top: 20rem;
}

.award-post-logo {
  margin-bottom: 30rem;
}

.award-post-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 50px;
}

@media (max-width: 1023px) {
  .awards-page-header {
    margin-bottom: 50rem;
  }

  .awards-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 50rem;
  }

  .award-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24rem;
  }

  .award-card-media::before {
    padding-top: 70%;
  }

  .award-card-top {
    margin-bottom: 16rem;
  }

  .award-card-date {
    margin-bottom: 12rem;
  }

  .award-card-text,
  .award-card-action {
    padding-left: 0;
  }

  .award-card-text::before {
    display: none;
  }

  .award-post-logo {
    margin-bottom: 20rem;
  }
}
