/* Npg P3 contact form start*/

.alert-danger {
  display: none;
}

.form-required:after {
  display: none;
}

.npg-p3-contact-form {
  background-color: #E0EBED;
}

.npg-p3-contact-form .form-field .form-item {
  position: relative;
}

.npg-p3-contact-form .form-field label {
  position: absolute;
  left: 10px;
  display: flex;
  align-items: center;
  height: 100%;
  transition: 0.2s ease all;
  -o-transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.npg-p3-contact-form .form-field label.form-required {
  height: 55px;
}

.npg-p3-contact-form .form-field input,
.npg-p3-contact-form .form-field textarea {
  background-color: #fff;
  border: 0px solid #fff;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  color: #000;
  line-height: 17.7px;
  padding: 24px 10px 10px 10px;
  width: 100%;
}

.npg-p3-contact-form .form-field .form-type-textarea {
  height: 100%;
}

.npg-p3-contact-form .form-field textarea,
.npg-p3-contact-form .form-field .form-textarea-wrapper {
  height: 100%;
}

.npg-p3-contact-form .form-field input {
  height: 58px;
}

.npg-p3-contact-form .form-field input:focus,
.npg-p3-contact-form .form-field textarea:focus {
  border: 1px solid #52565a;
  color: #000;
}

.npg-p3-contact-form .form-field label.input-val {
  height: 50%;
  font-size: 14px;
  line-height: 17px;
}

.npg-p3-contact-form .form-field label.form-required.input-val {
  height: 29px;
}

.npg-p3-contact-form .form-field label,
.npg-p3-contact-form .form-field input,
.npg-p3-contact-form .form-field textarea {
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0px;
}

.npg-p3-contact-form .form-item,
.npg-p3-contact-form .form-actions,
.npg-p3-contact-form .form-group {
  margin-top: 0;
  margin-bottom: 0;
}

.npg-p3-contact-form .form-group .form-field {
  margin-bottom: 30px;
}

.npg-p3-contact-form .form-group>.form-field:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .npg-p3-contact-form .form-group .form-field:last-child {
    margin-bottom: 30px;
  }
}

.npg-p3-contact-form .form-groups-wrapper {
  margin-bottom: 30px;
}

.thanks-section .modal-dialog {
  height: 100vh;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.modal.thanks-section {
  background: rgb(0, 0, 0, 0.4);
}

.thanks-section .modal-content {
  padding: 20px;
  border-radius: 0;
}

.thanks-section .thanks-title {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0px;
}

.thanks-section .thanks-text {
  overflow-y: auto;
  max-height: 350px;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0px;
}

.form-button {
  background-color: #BE1C3E !important;
  border-color: #000 !important;
  border-width: 0px !important;
  box-shadow: none;
  color: #fff;
  border-radius: 4px;
  padding: 16px 24px;
  font-weight: bold;
  font-size: 21px;
  line-height: 24px;
  letter-spacing: 0px;
  border-style: solid !important;
}

.form-button:hover {
  background-color: #BE1C3E !important;
}

.npg-p3-contact-form .form-title-container {
  margin: 0 !important;
}

.npg-p3-contact-form .form-title-container h2 {
  padding-bottom: 30px;
}

.npg-p3-contact-form .form-item-text-message a {
  font-weight: 700;
}

.npg-p3-contact-form .form-item-text-message a strong{
  color: #BE1D3D;
}

.npg-p3-contact-form .form-item-text-message a:hover {
  text-decoration: underline;
}

.npg-p3-contact-form .form-item-text-message label,
.npg-p3-contact-form .form-item-text-message label p:last-child {
  margin-bottom: 0;
}

button:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.npg-p3-contact-form .error-msg {
  margin-top: 4px;
  color: red;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0px;
}

.npg-p3-contact-form .form-actions input.contact_submit {
  margin-top: 50px;
}

.npg-p3-contact-form .form-field input.error-field,
.npg-p3-contact-form .form-field textarea.error-field {
  border: 1px solid red;
  color: red;
}

.npg-p3-contact-form .form-field label.error-label {
  color: red;
}

.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.modal.load-spinner {
  background: rgb(0, 0, 0, 0.4);
}

.modal.load-spinner .modal-content {
  background: none;
  border: none;
}

.modal.load-spinner .modal-dialog {
  height: 100vh;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.ajax-progress {
  display: none;
}

/* npg P3 contact form end*/

/* RSVP form start */

#rsvp-contact-form .form-field {
  position: relative;
}

.form-field-icon {
  position: absolute;
  top: 16px;
  right: 11px;
}

#rsvp-contact-form.npg-p3-contact-form .form-field .form-type-email input,
#rsvp-contact-form.npg-p3-contact-form .form-field .form-type-tel input {
  padding-right: 34px;
}

.form-name-group .form-field {
  width: 50%;
}

.form-name-group .form-field:first-child {
  padding-right: 8px;
}

.form-name-group .form-field:last-child {
  padding-left: 8px;
}

.npg-p3-contact-form .form-field .form-type-textarea label {
  height: 55px;
}

.npg-p3-contact-form .form-field .form-type-textarea label.input-val {
  height: 29px;
}

@media (max-width: 1140px) {
  .form-name-group {
    flex-direction: column;
  }

  .form-name-group .form-field {
    width: 100%;
  }

  .form-name-group .form-field:first-child {
    padding-right: 0;
  }

  .form-name-group .form-field:last-child {
    padding-left: 0;
  }
}

.page-node-type-events #hearsay-contact-form {
  display: none;
}

/* RSVP form end */