.webform-submission-pg-charity-interest-form-form {
  max-width: 650px;
  padding:2.5rem;
  margin:auto;
  margin-bottom:7.5rem;
  border-radius: 0px;
  background: #ffff;
 }

.pg-charity-form-heading h2 {
    max-width:650px;
    margin:auto;
    text-align:center;
    font-family: "Lyon Display";
    font-size:60px;
    font-style: normal;
    font-weight: 400;
    margin-top:3.75rem;
    margin-bottom:3.75rem
}

.webform-submission-form h3 {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  font-family: "Matter", "Figtree", Arial;
  text-transform: uppercase;
  color: #00b7d5;
  margin-bottom: 0;
}


.webform-submission-form label, .webform-submission-form span {
  text-decoration: none;
  color: #000;
  font-size: 13px;
  font-family: "Matter", "Figtree", Arial;
  font-weight: 570;
  margin-bottom: 6px;
  display: inline-block;
}

.text-count-message,.text-count-message .text-count {
  font-size:10px;
font-style: normal;
font-weight: 430;
  color:rgba(0, 0, 0, 0.40)
}

.fieldset-wrapper{
  display:flex;
  flex-direction:column;

}
.fieldset-wrapper .alert-danger {
  padding:0;
  order:2;
    background:transparent;
  border:none;
}
fieldset.has-error.form-group .invalid-feedback,.fieldset-wrapper .alert-danger strong {
  font-size: 10px;
  font-family: "Matter", "Figtree", Arial;
  color:#C53B1C;
  font-weight:400;
  display: block;
}


.webform-submission-pg-charity-interest-form-form .form-required::after {
  content: " *";
  color: #C53B1C;
}


.webform-submission-form input[type="text"],
.webform-submission-form input[type="number"],
.webform-submission-form input[type="email"],
.webform-submission-form input[type="url"],
.webform-submission-form input[type="tel"],
.webform-submission-form select,
.webform-submission-form textarea {
  width: 100%;
  padding: 0 12px;
  font-size: 15px;
  color: #243333;
  background-color: #ffffff;
  border: 1.4px solid rgba(0, 0, 0, 0.2);
  border-radius: 0px;
  min-height:40px
}


.webform-submission-form textarea {
  resize: vertical;
  min-height: 120px;
}


.webform-submission-form .form-group,
.webform-submission-form fieldset {
  margin-bottom: 4px;
  width: 100%;
}



.webform-submission-form fieldset#edit-consent{
  margin-bottom:0.5rem
}

.webform-submission-form fieldset.form-item-year-founded,.webform-submission-form fieldset.form-item-phone-number,.webform-submission-form fieldset.form-item-geographic-reach,.webform-submission-form fieldset.form-item-how-did-you-hear-about-promote-giving--select,.webform-submission-form fieldset.form-item-upload-file,.webform-submission-form fieldset.form-item-how-did-you-hear-about-promote-giving-{
  margin-bottom:2rem;
}

.webform-submission-form fieldset.form-item-which-news{
  margin-top:-2rem;
  margin-bottom:2rem
}
.form-item-key-programs-or-services-other {
  margin-top:0.5rem;
}
div:has(+ fieldset.form-item-upload-file.has-error) {
  display:none
}

.webform-managed-file-preview.webform-document-file-preview {
  align-items: center;
  /* height: 40px; */
  max-width: 220px;
  padding: 9px 34px 9px 12px;
  gap: 10px;
  background: rgba(233, 232, 221, 1);
  font-family: "Matter", "Figtree", Arial;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap; 
  overflow: hidden;      
  text-overflow: ellipsis;  
  min-width: 0;
  width: 220px;
}


.js-webform-document-file.webform-document-file{
  display:flex;
  flex-direction: column;
  max-width: 220px;
}

.file-upload-js-error{
  order:99;
  color:#C53B1C;
  font-size: 14px;
  font-family: "Matter", "Figtree", Arial;
  font-weight: 400;
  margin-top:0.5rem;
}
.webform-submission-form .webform-file-button{
  background:transparent;
  border:1.4px solid rgba(0, 0, 0, 0.2);
  color:rgba(0, 0, 0, 0.4);
  padding:0 12px;
  min-height:40px;
  display:flex;
  justify-content:center;
  align-items:center;
  max-width:135px;
  gap:6px;
  cursor:pointer
}

.webform-submission-form .webform-file-button::before {
  font-family: "material icons";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
        content: "\e2c6";
}

.webform-submission-form select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23243333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  appearance: none;
}
.js-form-managed-file:has(.webform-managed-file-preview)::after,.js-form-managed-file:has(.webform-managed-file-preview)::before{
  content: none;
  display: none;
}


.js-webform-document-file.webform-document-file:has(.webform-managed-file-preview)::before{
    position: absolute;
    top: 1.8rem;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    font-family: "material icons";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    content: "\e5cd";
    pointer-events: none;
    color: rgba(0, 0, 0, 0.4);
    z-index: 2;
    display:block;
    left: 12rem;
}

[data-drupal-selector="edit-upload-file-remove-button"],[data-drupal-selector="edit-upload-file-remove-button"]:disabled{
  position:absolute;
  max-width:20px;
  right:0;
  background:transparent;
  font-size:0;
  top:1.4rem;
  border:none

}

[data-drupal-selector="edit-upload-file-remove-button"]:hover{
  background:transparent;
}


.webform-submission-form span.ajax-new-content{
  display:none;
}

.webform-managed-file-preview{
  font-size:1rem;
}
.webform-element-description {
  font-size: 13px;
  color: #5f6f73;
  margin-top: 6px;
}


.form-check {
  margin-bottom: 14px;
}

.webform-submission-form label.form-check-label{
  display:flex;
}

.form-check-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 18px;
  height: 18px;
  border: 2px solid #cfd8dc;
  background: #ffffff;
  cursor: pointer;
  top:-0.2rem;
  flex-shrink: 0;
  position: relative;
}

.form-check-input:checked {
  background-color: #00b7d5;
  border-color: #00b7d5;
}

.form-check-input:checked::after {
  content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4.5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 1.4px 1.4px 0;
    transform: rotate(45deg);
}

.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-check-label .option {
  cursor: pointer;
  line-height: 1.4;
}

.form-check-input:focus {
  outline: 2px solid rgba(0, 183, 213, 0.4);
  outline-offset: 2px;
}


.form-check-label {
  pointer-events: none;
}

.form-check-input {
  pointer-events: auto;
  cursor: pointer;
}

.form-check-label .option {
  pointer-events: none;
  cursor: default;
}

.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 2px;
}


[data-drupal-messages]
.alert-danger:has(a[href^="#edit-"]) {
  display: none;
}




.form-check-label {
  font-size: 14px;
  color: #243333;
}



.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled):active:focus,.btn-primary:focus {
border:#ffff;
    background: rgba(25, 72, 146, 1);
  box-shadow:unset
}


.webform-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width:158px;
  border-radius:0px;
  margin-top:2rem;
}

.webform-actions::after {
  content: "\e5c8";
  font-family: "Material Icons";
  font-size: 17px;
  line-height: 1;
  position: absolute;
  right: 22px;
  pointer-events: none;
  transition: color 0.25s ease;
}


.webform-actions .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 44px 0 14px;
  font-size: 16px;
  line-height: 1;
  border: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.webform-actions .form-submit:disabled {
  background-color: rgba(233, 232, 221, 1);
  color: rgba(0, 0, 0, 0.4);
  cursor: not-allowed;
  border-radius:0
}

.webform-actions:has(.form-submit:disabled)::after {
  color: rgba(0, 0, 0, 0.4);
  background: (233, 232, 221, 1)
}


.webform-actions .form-submit:not(:disabled) {
  background-color: rgba(25, 72, 146, 1);
  color: #ffffff;
  cursor: pointer;
  border-radius:0px
}

.webform-actions:has(.form-submit:not(:disabled))::after {
  color: #ffffff;
}

.webform-actions .form-submit:not(:disabled):hover {
  filter: brightness(1.08);
}

.webform-actions .ajax-throbber.varicon-spin.icon.varicon.varicon-refresh {
  position:absolute;
  left:12rem
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.webform-confirmation-modal {
  color: black;
  font-size: 14px;
  font-family: "Matter", "Figtree", Arial;
  font-weight: 430;
  line-height: 23.94px;
  word-wrap: break-word;
  max-width: 600px;
  width: 80% !important;
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.webform-confirmation-modal .ui-dialog-titlebar {
  background: transparent;
  border: none;
  color: #00B7D5
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.webform-confirmation-modal .ui-dialog-titlebar-close {
  border: none;
  background: transparent
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.webform-confirmation-modal .ui-dialog-titlebar-close:before {
  font-family: "material icons";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  content: "\e5cd";
  color: #00B7D5
}


.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.webform-confirmation-modal a {
  border: none;
  border-bottom: 2px solid #00b7d5;
  font-weight: 500;
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.webform-confirmation-modal a:hover {
  text-decoration: none;
  color: inherit;
}

.webform-submission-form #captcha summary {
  font-size: 13px;
    font-style: normal;
    font-weight: 600;
    font-family: "Matter", "Figtree", Arial;
    text-transform: uppercase;
    color: #00b7d5;
    margin-bottom: 0;
}
.webform-submission-form #captcha small {
  font-size:13px
}
.webform-submission-form #captcha .details-wrapper .details-description{
      text-decoration: none;
    font-family: "Matter", "Figtree", Arial;
    font-weight: 570;
    margin-bottom: 6px;
    display: inline-block;
}


@media (max-width: 768px) {
  .webform-button--submit {
    font-size: 15px;
  }
.pg-charity-form-heading h2 {
    font-size:40px;
}

}

@media (max-width: 480px) {
  .webform-submission-form input,
  .webform-submission-form textarea,
  .webform-submission-form select {
    font-size: 14px;
  }
  .webform-submission-form [data-drupal-selector="edit-upload-file-remove-button"]{
    font-size:0
  }
}



 

