/* Styling datepicker */
.ui-datepicker {
  width: 100% !important;
}
.ui-datepicker a {
  text-decoration: none;
}
.ui-datepicker td span.ui-state-default,
.ui-datepicker td a.ui-state-default {
  font-family: "prompt", Arial, Helvetica, sans-serif;
  color: #777;
  border: none;
  background: transparent;
  font-weight: 500;
}
.ui-datepicker td a.ui-state-active {
  color: #fff;
  font-weight: 700;
}
.ui-datepicker td a.ui-state-highlight {
  color: #777;
  font-weight: 500;
}
.ui-widget-header,
.ui-widget.ui-widget-content {
  border: none;
}
.ui-widget-header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
  border: none;
  background: transparent;
}
.ui-datepicker-today {
  background-color: #c60000;
  border-radius: 3px;
}
.ui-datepicker td .ui-state-highlight {
  color: white;
}
.ui-datepicker td .ui-state-active {
  background-color: unset;
}
.ui-datepicker-current-day {
  background-color: #ff8200;
  border-radius: 3px;
}
.ui-datepicker-month,
.ui-datepicker-year {
  font-size: 14px;
}
.ui-datepicker thead span {
  color: #333;
  font-family: "prompt", Arial, Helvetica, sans-serif;
}
.ui-datepicker tr {
  height: 40px;
}
.ui-datepicker-title {
  color: white;
}
.ui-datepicker-unselectable .ui-state-default {
  color: #d7d7d7;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  width: 40%;
  font-size: 14px;
  padding: 0 0 0 30px;

  border-radius: 5px;
  margin: 0;
  margin-top: 2px;
  height: 32px;
  border-color: white;
  color: #333;
  font-family: "prompt", Arial, Helvetica, sans-serif;
}
.ui-datepicker select.ui-datepicker-year {
  padding: 0 0 0 25px;
}

.ui-datepicker select.ui-datepicker-month {
  margin-right: 5px;
}
.ui-datepicker .ui-datepicker-header {
  background-color: #00906d;
}
.ui-datepicker .ui-datepicker-prev span:before,
.ui-datepicker .ui-datepicker-next span:before {
  color: white;
}
/* Styling auto suggest province */
.tt-menu {
  border: none;
  border: 1px solid #fafafa !important;
  background-color: white;
  border-radius: 5px;
  margin-top: 5px;
}
.tt-dataset {
  max-height: 270px;
  overflow-y: auto;
  padding: 0 !important;
}
.tt-suggestion {
  font-size: 14px;
  color: #333;
}
/* Styling select dropdown */
.select2-container .select2-selection--single {
  height: 50px;
  border: 1px solid #eee;
  border-radius: 15px;
}
.select2-container .select2-selection--single .select2-selection__arrow b {
  margin-top: 2px;
  transition: all 0.3s ease;
}
.select2-container--open .select2-selection__arrow b {
  /* transform: rotate(-180deg); */
  transform: scaleY(-1);
  transform-origin: 50% 65%;
}
.select2-container
  .select2-selection--single
  .select2-selection__arrow
  b:before,
.select2-container .select2-selection--single .select2-selection__clear:before {
  background: unset !important;
  -webkit-text-fill-color: #00906d !important;
  margin-top: 8px;
}
.select2-container .select2-selection--single .select2-selection__placeholder {
  font-size: 13px;
  color: #777;
  font-family: "prompt", Arial, Helvetica, sans-serif;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 0px;
  font-size: 18px;
}
.select2-container .select2-results__option {
  color: #333;
  font-family: "prompt", Arial, Helvetica, sans-serif;
  font-size: 13px;
}
.startProvDropdown.select2-container .select2-results__option:nth-of-type(4) {
  border-bottom: dashed 1px #00916e;
}
#countryContainer.searching
  .select2-container
  .select2-results__option:nth-of-type(5),
#countryDestKidsContainer.searching
  .select2-container
  .select2-results__option:nth-of-type(5),
#countryDestVisaContainer.searching
  .select2-container
  .select2-results__option:nth-of-type(5) {
  border-bottom: 0;
}
#countryContainer .select2-container .select2-results__option:nth-of-type(5),
#countryDestKidsContainer
  .select2-container
  .select2-results__option:nth-of-type(5),
#countryDestVisaContainer
  .select2-container
  .select2-results__option:nth-of-type(5) {
  border-bottom: dashed 1px #00916e;
}

.select2-dropdown.select2-dropdown--below {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.select2-container--open
  .select2-dropdown.select2-dropdown--below:has(#select2-destProvince-results) {
  padding-top: 46px;
  z-index: 500;
}
.select2-container--open
  .select2-dropdown.select2-dropdown--below:has(
    #select2-countryDestProvince-results
  ) {
  padding-top: 46px;
  z-index: 500;
}

/* Styling select dropdown multiple */
.select2-container .select2-selection--multiple {
  position: relative;
  height: 45px;
  border: 1px solid #eee;
  border-radius: 15px !important;
  overflow: visible;
  /* display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center; */
  font-size: 13px;
  color: #777;
  font-family: "prompt", Arial, Helvetica, sans-serif;
  padding-bottom: 6px;
  /* padding-left: 15px; */
  margin-top: 10px;
  cursor: pointer;
  height: fit-content;
  min-height: 45px;
}
.select2-container .select2-selection--multiple .select2-search__field {
  font-family: "prompt", Arial, Helvetica, sans-serif;
  font-weight: normal;
  /* padding-left:2.5rem; */
  /* padding-left: 1rem; */
  cursor: pointer;
  margin-top: 6px;
  caret-color: #000;
}
.select2-container.select2-container--open
  .select2-selection--multiple
  .select2-search__field {
  margin-top: 16px;
  position: relative;
}

.select2-container .select2-search--inline .select2-search__field {
  margin-left: 0px;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered
  li {
  padding-bottom: 4px;
  overflow: visible;
}

.select2-container.select2-container--open .select2-search--inline {
  background-color: #fff;
  position: absolute;
  left: 0;
  overflow: visible;
  z-index: 10000;
  border: 2px solid #00916e;
  border-radius: 15px !important;
  height: 48px;
  font-family: "prompt", Arial, Helvetica, sans-serif;
  width: 100% !important;
  margin: 0;
  padding-left: 44px;
  bottom: -50px;
}
.select2-container.select2-container--open .select2-search--inline:before {
  content: "";
  width: 20px;
  height: 19px;
  display: block;
  background: url("/jaadhai/assets/new-theme/images/i-search.svg") no-repeat;
  background-size: contain;
  position: absolute;
  top: 14px;
  left: 16px;
  opacity: 0.8;
  z-index: 1500;
}
.select2-container.select2-container
  .select2-selection--multiple
  .select2-search__field:focus:placeholder {
  color: #fff;
}

.jhSelectMultiple ~ .select2-container .select2-results__options {
  padding-top: 50px;
}

#domesticform .select2-results__options {
  padding-top: 0px;
}
/* 
.select2-container.select2-container--open
  .select2-selection--multiple:has(.select2-search__field:focus)::before {
  content: "";
  width: 20px;
  height: 19px;
  display: block;
  background: url('/jaadhai/assets/new-theme/images/i-search.svg') no-repeat;
  background-size: contain;
  position: absolute;
  top: 60px;
  left: 16px;
  opacity: 0.8;
  z-index: 1500;
} */

.select2-container.select2-container--focus .select2-selection--multiple {
  border: 1px solid #eee;
  height: fit-content;
  min-width: 45px;
}
.select2-container .select2-results__option[aria-selected="true"]:after {
  float: right;
  content: "\2713";
  color: #00916e;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  overflow: visible;
  padding: 0;
  margin-top: 8px;
  margin-left: 10px;
  height: fit-content;
}

@media (max-width: 576px) {
  .select2-container .select2-selection--multiple .select2-selection__rendered {
    width: 80%;
  }
}

.select2-container .select2-selection--multiple .select2-selection__clear {
  top: -14px;
  font-size: 30px;
  font-weight: normal;
  right: -36px;
}
.select2-container
  .select2-selection--multiple
  .select2-selection__choice:nth-last-of-type(-n+2)::after {
  content: " ";
}
.select2-container
  .select2-selection--multiple
  .select2-selection__choice:not(:nth-last-of-type(-n+2))::after {
  content: ", ";
}

/* .select2-container
  .select2-selection--multiple
  .select2-selection__choice:nth-child(n + 4)::after {
  content: ",...";
}
.select2-container
  .select2-selection--multiple
  .select2-selection__choice:nth-child(n + 5) {
  display: none;
} */
.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: inherit;
  border: none;
  cursor: default;
  margin: 0;
  margin-right: 4px;
  padding: 0;
}
/* .select2-container
  .select2-selection--multiple
  .select2-selection__choice:first-of-type {
  padding-left: 8px;
} */
.select2-container
  .select2-selection--multiple
  .select2-selection__choice
  .select2-selection__choice__remove {
  display: block;
  font-size: 1.5rem;
  font-weight: normal;
  color: red;
  top: -16px;
  right: -12px;
  border: 0;
  left: auto;
}
.select2-container
  .select2-selection--multiple
  .select2-selection__choice
  .select2-selection__choice__remove:hover{
    background-color:transparent;
  } 

.select2-container--open .select2-dropdown {
  top: 100% !important;
}

/* Checkbox custom */
.checkfield {
  display: flex;
  align-items: center;
}
input[type="checkbox"]:checked + .checkbox-label {
  border: 2px solid #00916e;
  background-color: #00916e;
}
input[type="checkbox"]:checked + .checkbox-label::after {
  color: white;
  font-weight: bold;
}
.checkbox-text {
  font-family: "prompt", Arial, Helvetica, sans-serif;
  font-size: 13px;
  word-wrap: normal;
  /* width: 100% !important; */
  width: fit-content !important;
  margin-left: 5px;
}
.i-info {
  background: url(/jaadhai/assets/new-theme/images/i-info.svg) no-repeat scroll
    0 0 / contain;
  height: 15px;
  border: none;
  outline: none;
  width: 15px;
  position: relative;
  top: 2px;
  left: 2px;
}

/* Radio custom */
.radiofield {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.radiofield input,
.radiofield label {
  cursor: pointer;
}

.radioLabel {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid #00906d;
  position: relative;
}
.radioText {
  font-size: 13px;
  color: #333;
  font-family: "prompt", Arial, Helvetica, sans-serif;
}
.radioInput:checked + .radioLabel:before {
  content: "";
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  background: #00906d;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 768px) {
  .tt-suggestion {
    font-size: 16px;
  }
}
