body {
  /* background-color: aqua !important; */
}

#discover .right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.btn-bar {
  background-color: #2a1a40;
  border-radius: 50px;
  padding: 10px 10px;
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

button.form-custom-btn {
  background-color: #2a1a40;
  color: white;
  border-color: transparent;
}

button.form-custom-btn:hover {
  border: 1px solid white;
}

.form-custom-btn.active {
  /* padding: 15px 30px; */
  color: black;
  background-color: white;
  border-radius: 24px;
}

#discover .custom-forms-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

#discover .custom-form {
  display: none;
  width: 100%;
  position: relative;
}

#discover .custom-form.active {
  display: block;
}

#discover .custom-form fieldset {
  max-width: 100%;
}

#discover .custom-form form .form-columns-2 {
  display: flex;
  gap: 30px;
}

#discover .custom-form form label:not(.hs-error-msg) {
  visibility: hidden;
}

#discover .custom-form form label.hs-error-msg {
  margin-top: 5px;
  display: flex;
  margin-top: 10px;
  column-gap: 10px;
}

#discover .custom-form form label.hs-error-msg::before {
  /* color: red; */
  content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="18.466" height="18.466" viewBox="0 0 18.466 18.466"%3E%3Cpath id="Icon_material-error" data-name="Icon material-error" d="M12.233,3a9.233,9.233,0,1,0,9.233,9.233A9.237,9.237,0,0,0,12.233,3Zm.923,13.85H11.31V15h1.847Zm0-3.693H11.31V7.617h1.847Z" transform="translate(-3 -3)" fill="%23c33"/%3E%3C/svg%3E');
}

#discover .custom-form form select.error ~ .select2.select2-container--default .select2-selection--multiple,
#discover .custom-form form select.error,
#discover .custom-form form input.error {
  border: 1px solid #cc3333 !important;
}

#discover .custom-form form textarea {
  width: 100%;
  outline: none;
  border: none;
  border-radius: 10px;
  background-color: white;
  min-height: 102px;
  margin-bottom: 15px;
}

#discover .custom-form form select {
  outline: none;
  border: none;
  border-radius: 10px;
  background-color: white;
  min-height: 57px;
}

#discover .custom-form form input:not([type="submit"]) {
  outline: none;
  border: none;
  border-radius: 10px;
  background-color: white;
  min-height: 57px;
}

#discover .custom-form form input[type="submit"] {
  border: none;
  border-radius: 50px;
  background-color: #2a1a40;
  padding: 1rem 3rem;
  transition: 0.3s all;
  border: 1px solid #2a1a40;
}

#discover .custom-form form input[type="submit"]:hover {
  background-color: white;
  border: 1px solid #2a1a40;
  color: #2a1a40;
}

#discover .custom-form form .hs_submit .actions {
  display: flex;
  justify-content: flex-end;
}

#discover .custom-form form select {
  font-weight: bold;
  color: black;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><polygon points="0,0 20,0 10,10" fill="black"/></svg>') no-repeat; */
  /* background-position: calc(100% - 10px) center; */
  /* padding-right: 30px; */
  /* position: relative; */
  /* background-image: none; */
}

#discover .custom-form .hs-fieldtype-select {
  position: relative;
}

#discover .custom-form .hs-fieldtype-select .input {
  position: relative;
}

#discover .custom-form .hs-fieldtype-select .input::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  pointer-events: none;
  display: block;
  background-image: url("../img/chevron-down-solid.svg");
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  transform: translateY(-50%);
}

#discover .custom-form form select::-ms-expand {
  display: none;
}

#discover .custom-form form ::placeholder {
  color: black;
  font-weight: bold;
  opacity: 1;
}

#discover .custom-form .custom-form-desc {
  max-width: 348px;
  max-height: 48px;
  font-size: 12px;
  position: absolute;
  left: 0;
  bottom: 0;
}

#discover .custom-form .custom-form-desc a {
  text-decoration: underline;
}

@media screen and (max-width: 480px) {
  #discover .custom-form form .form-columns-2 {
    flex-direction: column;
    gap: 0;
  }
}

@media screen and (max-width: 669px) {
  button.form-custom-btn {
    min-width: 90px;
    /* white-space: nowrap; */
  }

  #discover .custom-form form input[type="submit"] {
    font-size: 0.8rem;
    padding: 1rem 2rem;
  }

  #discover .custom-form .custom-form-desc {
    max-width: 170px;
    font-size: 10px;
    line-height: 17px;
  }

  .btn-bar {
    max-width: 320px !important;
  }
}

@media screen and (min-width: 769px) and (max-width: 1340px) {
  button.form-custom-btn {
    min-width: 90px;
  }

  #discover .custom-form form input[type="submit"] {
    font-size: 0.8rem;
    padding: 1rem 2rem;
  }

  #discover .custom-form .custom-form-desc {
    max-width: 200px;
  }
}

@media screen and (min-width: 769px) and (max-width: 810px) {
  #discover .custom-form .custom-form-desc {
    max-width: 170px;
    font-size: 10px;
    line-height: 17px;
  }
}

@media screen and (max-width: 767px) {
  #discover .custom-form form .hs_submit .actions {
    justify-content: center;
  }
}

#discover .custom-form fieldset.form-columns-1 .hs-input {
  width: 100% !important;
}

#discover .custom-form {
  margin-bottom: 30px;
}

#discover .custom-form select[name="business_interest"][multiple] {
  display: none !important;
}

#discover .custom-form .select2 {
  width: 100% !important;
}

#discover
  .custom-form
  .select2-container--default
  .select2-search--inline
  .select2-search__field {
  width: 100% !important;
}

#discover
  .custom-form
  .select2-container--default
  .select2-selection--multiple {
  border: 0px;
  border-radius: 10px;
}

#discover .custom-form .select2-selection__rendered {
  display: flex;
  align-items: center;
  min-height: 57px;
  /* column-gap: 5px; */
  gap: 5px;
  min-height: 57px;
  padding: 10px;
  flex-wrap: wrap;
  padding-right: 50px;
}

#discover
  .custom-form
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  margin-right: 0px;
  margin-top: 0px;
}

#discover
  .custom-form
  .select2-container
  .select2-search--inline
  .select2-search__field {
  margin-top: 0px;
  height: auto;
}

#discover
  .custom-form
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered
  li {
  /* height: 26px; */
}

#discover .custom-form .select2-search__field {
  min-height: unset !important;
}
