form.pd-form {
  /* background-color: #003875; remove when saving for WordPress */
  padding-bottom: 10px;
  /* padding: 20px; remove when saving for WordPress */
}

label.pd-label {
  font-size: 14px;
  /* font-family:Arial, Helvetica, sans-serif; remove when saving for WordPress */
  color: white;
  display: block;
  padding-bottom: 6px;
}

.pd-form-group {
  margin-bottom: 12px;
}

input.pd-input {
  min-height: 48px!important;
  height: 48px!important;
  border: 1px solid #CCCCCC!important;
}

.pd-input-short {
  width: 100%;
  /* @media screen and (max-width: 777px) {
    width: 100%;
  }

  @media (min-width: 778px) {
    width: 240px;
  } */
}

.pd-input-long {
  width: 100%;
  /* @media screen and (max-width: 777px) {
    width: 100%;
  }

  @media (min-width: 778px) {
    width: 400px;
  } */
}

.pd-input-not-connected {
  border-radius: 4px;
}

input.pd-input-connected.pd-input {
  border-radius: 0 4px 4px 0!important;
  border-left: none!important;
  height: 48px!important;
  min-height: 48px!important;
  padding-top: 8px!important;
  padding-bottom: 8px!important;
  line-height: 32px!important; /* 48px - (8px + 8px) padding */
  box-sizing: border-box!important;
}

.pd-form-row {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

select.pd-select {
  min-height: 48px!important;
  height: 48px!important;
  width: 50%; /* was 160px */
  border: 1px solid #CCCCCC;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 30px 0 10px; /* Added right padding for arrow */
  border-radius: 0;
  background-color: #fff;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
    
}

.pd-unit-label {
  background-color: #CCCCCC;
  margin-bottom: 10px;
  color: #555555;
  /* font-family: Arial, Helvetica, sans-serif; remove when saving for WordPress */
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid #cccccc;
  max-height: 48px!important;
  height: 48px!important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  box-sizing: border-box;
}

.pd-tooltip {
  display: none;
  position: absolute;
  top: 36px;
  left: 6px;
  background: #CCCCCC;
  color: black;
  /* font-family: Arial, Helvetica, sans-serif; remove when saving for WordPress */
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.pd-tooltip.pd-tooltip-with-select {
  left: 166px;
}

.pd-tooltip svg {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

.pd-tooltip::before {
  content: '';
  position: absolute;
  top: -8px; /* Height of the triangle */
  left: 10px; /* Position from left */
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #CCCCCC; /* Same as tooltip background */
  width: 0;
  height: 0;
  
}

input[aria-invalid="true"] ~ .pd-tooltip {
  display: flex;
}

select[aria-invalid="true"] ~ .pd-tooltip {
  display: flex;
}

.pd-form-button {
  border: none!important;
  background-color: #74BF43!important;
  color: white!important;
  text-transform: capitalize!important;
  font-weight: 700!important;
  /* font-family: Arial, Helvetica, sans-serif; remove when saving for WordPress */
  border-radius: 50em!important;
  padding: 16px 30px!important;
  cursor: pointer;
  margin-top: 10px!important;
  margin-right: 14px!important;
  transition: transform .3s;
}

.pd-form-button:hover {
  transform: scale(1.1);
}

.pd-form-reset-button {
  display: none;
}

.pd-form-reset-button.pd-form-reset-button-show {
  display: inline-block;
}

button[disabled].pd-form-button {
  background-color: #CCCCCC!important;
  opacity: 0.7!important;
  transition: none;
}

button[disabled].pd-form-button:hover {
  transform: none;
}

.pd-form footer {
  line-height: 0;
}

.pd-form footer .pd-form-message-show {
  line-height: normal;
}


.pd-form-message {
  display: inline-block;
  /* font-family: Arial, Helvetica, sans-serif; remove when saving for WordPress */
  font-size: 0.9rem;
  color: white;
  border: 1px solid #cccccc;
  border-radius: 5px;
  visibility: hidden;
  height: 0px;
  transition: height 0.3s;
}

.pd-form-message.pd-form-message-show {
  visibility: visible;
  height: auto;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 10px;
}


.pd-form-message p {
  margin-bottom: 0px;
  margin-top: 0px;
}

.honey-pot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}