.form-widget {
  padding: 32px 16px 16px;
  background-color: white;
}

.form-shadow .form-widget {
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.12),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.2);
}

/* Responsive positioning of form */
@media only screen and (max-width: 767px) {
  .form-overlap .form-widget {
    margin-top: -14px;
  }
}

@media only screen and (min-width: 768px) {
  .form-overlap .form-widget {
    margin-top: -83px;
  }
}

@media only screen and (max-width: 575px) {
  .form-overlap .form-widget {
    margin-top: -48px;
  }
}

.form-widget .btn-cta {
  margin: 0 0 1rem 0;
}

.form-widget .alert-body a {
  text-decoration: underline;
}

.form-widget .alert-body {
  margin-top: 0;
}

.form-widget input {
  font-family: inherit;
}

.form-widget .input-group .btn-cta {
  display: inline-flex;
  margin: 0;
  width: auto;
}

.form-widget .btn-cta .btn-cta-container {
  border-radius: 0;
  font-family: "EuclidCircularA", Helvetica, sans-serif;
}

.form-widget .input-group .btn-cta .btn-cta-container {
  display: inline-flex;
  width: auto;
  background-color: transparent;
  border: none;
}

.form-widget [data-tooltip] {
  z-index: 1;
  pointer-events: none;
}

.form-widget .feedback a {
  color: #e62e43;
  text-decoration: underline;
}

.form-widget .alert-travellers-age a {
  text-decoration: underline;
}

.form-widget .input-group .btn-cta a {
  min-width: auto;
  padding: 0 0 3px 2px;
  display: inline-flex;
  position: relative;
}

.date-range-tooltip {
  margin-left: 5px;
}

.date-range-tooltip svg {
  margin-top: -3px;
}

.form-widget .input-group .btn-cta a .spinner-md {
  top: -8px;
  left: 0;
  right: 0;
  color: #4054B8;
  width: 14px;
  height: 14px;
}

.form-widget .input-group .btn-cta a .spinner-md::after {
  top: 0px;
  left: 9px;
}

.form-widget .selectedItem {
  background: #F2F4F7;
}

.form-widget .selectedItem strong {
  color: hsla(220, 38.2%, 10.8%, 1);
}

.form-widget .countryList {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid hsla(222, 25%, 92.2%, 1);
  position: absolute;
  background: white;
  z-index: 9;
  width: 100%;
  max-height: 180px;
  overflow: scroll;
}

.form-widget .countryList:empty {
  display: none;
}

.form-widget .countryList li {
  border-bottom: 1px solid hsla(222, 25%, 92.2%, 1);
  padding: 10px;
  margin-top: 0;
}

.form-widget .countryList li:hover {
  background: #f2f4f7;
  cursor: pointer;
}

.form-widget .input-group-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, 56px);
  gap: 8px;
}

.form-widget .input-group input[name="travellers-age"] {
  width: 56px;
  padding: 8px;
  text-align: center;
}

.form-widget .input-group.input-group-alert input[name="travellers-age"],
.form-widget .input-group.input-group-alert input.add-input-btn {
  border-color: #d8dbe3;
}

.form-widget .input-group.input-group-alert input[name="travellers-age"].age-input-error {
  border-color: #e62e43;
}

.form-widget .add-input-btn {
  width: 56px;
  height: 48px;
  text-align: center;
  border: 2px solid #111826;
  border-radius: 0;
  font-size: 32px;
  line-height: 32px;
  font-weight: 200;
  padding: 0 0 6px 0;
  background-color: white;
}

.form-widget .add-input-btn:hover {
  cursor: pointer;
}

.form-widget .add-input-btn.disabled {
  opacity: 0.3;
}

.form-widget .add-input-btn.disabled:hover {
  cursor: default;
}

.form-widget .alert {
  box-shadow: 0px 5px 16px rgb(0 0 0 / 10%);
  padding: 16px;
  margin-top: 8px;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-wrap: nowrap;
}

.form-widget .alert .alert-icon {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 16px;
}

.form-widget .input-group-alert .alert-travellers-age {
  display: none;
}

@media only screen and (min-width: 1200px) {
  .alert-travellers-age {
    width: 370px; 
  }
}

@media only screen and (max-width: 1199px) {
  .alert-travellers-age {
    width: 306px; 
  }
}

@media only screen and (max-width: 992px) {
  .alert-travellers-age {
    width: 243px; 
  }
}

@media only screen and (max-width: 768px) {
  .alert-travellers-age {
    width: 435px; 
  }
}

@media only screen and (max-width: 520px) {
  .alert-travellers-age {
    width: 370px; 
  }
}

@media only screen and (max-width: 456px) {
  .alert-travellers-age {
    width: 309px; 
  }
}

@media only screen and (max-width: 456px) {
  .alert-travellers-age {
    width: 309px;
  }
}

@media only screen and (max-width: 380px) {
  .alert-travellers-age {
    max-width: 280px; 
  }
}

.form-widget .alert-travellers-age::before {
  background-color: #4054B8;
}

.form-widget .alert-travel-dates::before {
  background-color: #C77700;
}

.form-widget input[name="travel-dates"] {
  background-image: url(../../../../../etc/designs/retail/clientlib-all/svgs/icon-calendar.svg);
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) 10px;
  background-size: 24px;
}

.form-widget .btn-group-options,
.form-widget .input-group-alert .btn-group-options {
  border: none;
}

.form-widget .btn-group-options legend {
  margin-bottom: 8px;
}

.form-widget .btn-group-options .btn-group-radio:first-of-type {
  margin-right: 0;
  padding-right: 2px;
}

.form-widget .input-group-alert .btn-group-options .btn-group-radio:first-of-type {
  border: 2px solid #e62e43;
  border-right: none;
}

.form-widget .input-group-alert .btn-group-options .btn-group-radio:last-of-type {
  border: 2px solid #e62e43;
  border-left: none;
}

@media (min-width: 576px) and (max-width: 1199px) {
  .form-widget .btn-cta {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {

  .form-widget .col-md-5,
  .form-widget .col-md-7 {
    width: 100%;
    max-width: 100%;
    flex: auto;
    min-height: 1px;
    padding-right: 0;
    padding-left: 0;
  }

  .form-widget .btn-cta .btn-cta-container {
    width: 160px;
    margin-left: auto;
  }
}

@media (min-width: 1200px) {
  .form-widget .btn-cta .btn-cta-container {
    width: 160px;
  }

  .form-widget .col-md-5 {
    align-self: flex-end !important;
  }

  .form-widget .btn-cta {
    margin: 0 0 1.5rem 0;
  }
}

.form-bold .form-widget .cmp-form-options .cmp-form-options__legend__span,
.form-bold .form-widget .cmp-form-text .cmp-form-text__label__span,
.form-bold .form-widget .cmp-form-text.cmp-form-text--multi-text .cmp-form-text__label__span,
.form-bold .form-widget .cmp-form-text.date-range-picker-container label .trip-title {
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}
.form-bold .form-widget .cmp-form-text:has(input[name="promoCode"]) .cmp-form-text__label__span {
  font-weight: 400;
}
.form-bold .form-widget .cmp-form-options__legend > .cmp-text {
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}
.form-bold .form-widget .cmp-form-options__legend > .cmp-text .rich-text-editor > ul:first-of-type {
  margin-top: 4px;
  margin-bottom: 4px;
}

.form-bold .form-widget .btn-group-options .btn-group-radio:first-of-type {
  margin-right: 0;
  padding-right: 16px;
}

.form-bold .form-widget > hr {
  display: none;
}

.form-bold .form-widget .alert-travellers-age {
  width: 100%;
}
