body {

font-family:"myriad-pro";

.sticky-header{
  position: fixed;
  top: 0;
  z-index: 1000;
  background: #fff;
  width: 100%;
}

form {
  max-width: 500px;
  margin: auto;
  padding: 0px 24px 12px 24px;
  background: #fff;
}

h3 {
  padding-top: 16px;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: bold;
  color: #222;
  letter-spacing: 0.01em;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #262d2d;
}

.input-wrapper {
  margin-bottom: 32px;
}

.center-div {
  margin: auto;
  max-width: 515px;
}

.input-error {
  border: 2px solid #d32f2f !important;
  box-shadow: none;
  font-family:"myriad-pro";
}

.error-message {
  color: #d32f2f;
  font-size: 0.95em;
  margin-top: 4px;
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family:"myriad-pro";
}

.error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  background: #d32f2f;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.8em;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.error-message:empty {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  cursor: pointer;
  line-height: 21px;
}

.checkbox-label.privacyNotice {
    margin-bottom: 0px !important;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  font-family:"myriad-pro";
}

.checkbox-label span {
  margin-left: 4px;
  display: inline-block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bfc7cf;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family:"myriad-pro";
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: #005fa3;
  outline: none;
  background: #fff;
}

::placeholder {
  color: #C3C3C3;
  opacity: 1;
}

a {
 color: #00497C;
}

a:hover {
 color: #003A63;
}

.contact-link:hover {
 color: #003A63 !important;
 text-decoration:underline !important;
}

input[type="checkbox"] {
 accent-color: #00497C;
}

.optional {
  font-style: italic;
  font-weight: normal;
  color: #666;
  font-size: 0.95em;
}

/* Styles for the multiselect dropdown */

.multiselect-dropdown, .singleselect-dropdown {
  width: 100%;
  position: relative;
}

.multiselect-dropdown label {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-weight: 500;
}

.dropdown-selected {
  border: 1px solid #bfc7cf;
  border-radius: 4px;
  padding: 10px 4px 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 16px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 60%;
  width: 8px;
  height: 8px;
  pointer-events: none;
  transform: translateY(-50%);
  display: inline-block;
}

.dropdown-arrow::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-left: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: rotate(-45deg);
  margin-top: 2px;
}

.dropdown-list {
  border: 1px solid #bfc7cf;
  border-radius: 0 0 4px 4px;
  background: #fff;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 8px 0;
  position: absolute;
  width: 100%;
  z-index:
 10;
  display: none;
  max-height: 220px;
  overflow-y: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 16px;
}

.dropdown-item input[type="checkbox"] {
  accent-color: #005fa3;
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

.dropdown-item strong {
  font-weight: bold;
}

.dropdown-item:hover {
  background: #CCDBE5;
}

.dropdown-item.selected {
  background: #80A4BE;
}

.clear-x {
  color: #27251F;
  font-size: 0.85em;
  margin-right: 8px;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 50%;
  transition: background 0.2s;
}
.clear-x:hover {
  background: #BFDAFC;
}

.selected-count-active {
  color: #262d2d;
}

.selected-count-inactive {
  color: #C3C3C3;
}

/* End of styles for the multiselect dropdown */

.form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 56px;
}

.form-buttons.ty-page{
  justify-content: center;
}

.btn {
  min-width: 124px;
  height: 40px;
  max-width: 270px;
  min-height: 40px;
  max-height: 40px;
  padding-right: 16px;
  padding-left: 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1.5px solid #00497C;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

.btn:hover {
  background: #003A63;
  color: #fff;
}

.btn-cancel {
  background: #fff;
  color: #005080;
  border: 1.5px solid #00497C;
}

.btn-submit {
  background: #00497C;
  color: #fff;
  border: 1.5px solid #00497C;
}

.standalone-link {
 text-decoration: none;
 color:#00497c;
}

.standalone-link:hover {
 text-decoration: underline;
}

@media (max-width: 500px) {
  form {
    max-width: 98vw;
    padding: 12px 4vw;
  }
}

}