/* FORMS */
.form-wrapper {
  position: relative;
  background: #FFFFFF;
  padding: 2rem 1.5rem;
  box-shadow: 0 0 18px #2D74FF28;
}
.form-wrapper p.h1-subtitle.bold.dark {
  margin-top: 0;
}
.form-wrapper i.ico.ico-chevron {
  position: absolute;
  font-size: 0.8rem;
  color: var(--blueish-grey);
  right: 3.5rem;
  transform: rotate(90deg);
  margin-top: 1.4rem;
  opacity: 0.65;
}
@media (max-width: 768px) {
  .form-wrapper i.ico.ico-chevron {
    right: 3rem;
  }
}

.textbox {
  padding: 10px;
  font-size: 1rem;
  font-weight: 300;
  color: #444;
  border: 2px solid #CCC;
  width: 100%;
  outline: none;
  margin: 5px 0 20px 0;
  border-radius: 4px;
}

select.textbox {
  position: relative;
  min-height: 46px;
  background: var(--white);
  border-radius: 3px;
  border: 2px solid var(--blueish-grey);
  outline: none;
  padding: 0 10px;
  width: 100%;
  cursor: pointer;
  margin-top: 5px;
  appearance: none;
  opacity: 0.5;
}

.textbox:hover {
  border: 2px solid var(--blueish-grey);
}

.textbox:focus {
  border: 2px solid var(--info-blue);
}

#your-title {
  display: none;
}

/* Contact form Honeypot field */
.label {
  color: #494C54;
  font-family: var(--font-medium);
  font-weight: 500;
  font-size: 1em;
  letter-spacing: 0em;
  position: relative;
}
.label span.required::after {
  content: "*";
  color: var(--red);
}

.border-error {
  border: 2px solid var(--red);
}

.notification {
  background-color: #333;
  padding: 30px;
  text-align: center;
  color: #FFF;
  margin-bottom: 10px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  /* future proofing */
  -khtml-border-radius: 4px;
  /* for old Konqueror browsers */
}

.notification.error {
  background-color: #F4596B;
}

.notification.warning {
  background-color: #FFEFD1;
  color: #000 !important;
  font-family: var(--font-medium);
  font-weight: 500;
  overflow: auto;
}

.info-i {
  position: relative;
  margin-left: 0.5rem;
  display: inline-block;
  color: var(--info-blue);
}
@media (max-width: 768px) {
  .info-i {
    position: static;
  }
}

.info-i .microcopy {
  visibility: hidden;
  max-width: 280px;
  width: max-content;
  background-color: #0A2C3D;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  left: 50%;
  transform: translatex(-50%);
  bottom: 1.5em;
}
@media (max-width: 768px) {
  .info-i .microcopy {
    left: -10%;
    transform: translateX(0);
  }
}

.info-i:hover .microcopy {
  visibility: visible;
}

.flex-div {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
}
.flex-div .top-div:first-of-type {
  margin-top: 2rem !important;
}
.flex-div .top-div:nth-of-type(2) {
  margin-top: 2rem !important;
}
@media (max-width: 768px) {
  .flex-div .top-div:nth-of-type(2) {
    margin-top: -1rem !important;
  }
}
.flex-div .top-div:nth-of-type(3), .flex-div .top-div:nth-of-type(4) {
  margin-top: -1rem;
}
@media (max-width: 768px) {
  .flex-div .top-div:nth-of-type(3), .flex-div .top-div:nth-of-type(4) {
    margin-top: -1rem !important;
  }
}
.flex-div .iti {
  position: relative;
  display: block;
  margin: 5px 0 20px 0;
}
.flex-div input:not(#email) {
  text-transform: capitalize;
}
@media (max-width: 768px) {
  .flex-div {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
}

@media (max-width: 768px) {
  .d-flex {
    display: flex;
    flex-direction: column;
  }

  .form-wrapper .btn {
    min-width: 100%;
  }

  .text {
    order: 2;
    flex: 0 1 100%;
  }
}