/* Page-level styles extracted from the packages-south-africa-safari-wild-wonders page (head <style> blocks + Webflow embeds), original order. */

@media (max-width:767px) and (min-width:480px) {html.w-mod-js:not(.w-mod-ix) [data-w-id="5ee04411-228b-f175-78d2-f5a7e88e7d7d"] {display:none;}html.w-mod-js:not(.w-mod-ix) [data-w-id="cc3772d5-4bd8-1272-16b4-81bd35d3de27"] {display:block;}}@media (max-width:479px) {html.w-mod-js:not(.w-mod-ix) [data-w-id="5ee04411-228b-f175-78d2-f5a7e88e7d7d"] {display:none;}html.w-mod-js:not(.w-mod-ix) [data-w-id="cc3772d5-4bd8-1272-16b4-81bd35d3de27"] {display:block;}}

.loader {
	display: none; /* Hide by default */
}

/* Only show loader if html has 'show-loader' class */
html.show-loader .loader {
	display: flex;
}

/* Keep loader hidden inside Webflow Editor too */
html.w-editor .loader {
	display: none;
}

/* IntlTelInput container */
.iti {
  width: 100%;
}

/* Flag container */
.iti__flag-container {
  right: auto;
  left: 0;
}

/* Input field */
.iti--allow-dropdown input,
.iti--allow-dropdown input[type=tel],
.iti--allow-dropdown input[type=text],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type=tel],
.iti--separate-dial-code input[type=text] {
  padding-right: 6px;
  padding-left: 52px; /* Reduced padding to match the design */
  margin-left: 0;
  background-color: #ffffff; /* Light background */
  color: #606368; /* Light text */
}

/* Country list */
.iti__country-list {
  max-width: 400px;
}

/* Flag sprite */
.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags@2x.png");
  }
}

/* Additional flag adjustments if needed */
.iti__flag {
  box-shadow: 0 0 1px 0 #888;
}

/* Custom dropdown icon */
.iti__arrow {
  border: none;
  width: 20px;
  height: 21px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L10 13L15 8' stroke='%23667085' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transform: none;
}

.iti__arrow--up {
  transform: rotate(180deg);
}

/* Adjust the position of the new icon */
.iti__flag-container {
  right: auto;
  left: 0;
}

.iti__selected-flag {
  padding-right: 8px; /* Reduced padding */
  margin-right: 0; /* Removed margin */
}

.iti--separate-dial-code .iti__selected-dial-code {
  margin-right: 0; /* Removed margin to match the design */
  color: #606368; /* Light text for the dial code */
}

/* Remove spinner for number input */
.phone-input::-webkit-outer-spin-button,
.phone-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.phone-input[type=number] {
  -moz-appearance: textfield;
}

/* Remove blue highlight on tap for touch devices */
* {
  -webkit-tap-highlight-color: transparent; /* Chrome, Safari */
  -webkit-touch-callout: none; /* Prevent default touch callout behavior on iOS */
}

/* Optionally, disable focus outline globally */
*:focus {
  outline: none;
}

.error-msg {
    color: red;
    font-size: 12px;
    font-family: 'Instrument Sans', sans-serif;
    margin-top: 4px;
    display: none;
  }

  #lf-submit-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
  }

  #form-wrap {
    transition: width 0.3s ease;
  }

  #form-img,
  #form-header {
    transition: opacity 0.3s ease;
  }

.rl_navbar2_menu-2 .is-page-height-tablet .w-nav-menu {
 display: none;
 }

.date-range-picker {
    cursor: pointer;
    font-family: 'Instrument Sans';
  }
  
  .daterangepicker {
    font-family: 'Instrument Sans';
  }
  
  .daterangepicker td.active, 
  .daterangepicker td.active:hover {
    background-color: #89DCD8 !important;
    color: #000 !important;
  }
  
  .daterangepicker td.in-range {
    color: #000 !important;
  }
  
  .daterangepicker .ranges li.active {
    background-color: #89DCD8 !important;
  }
  
  .daterangepicker .btn-primary {
    background-color: #89DCD8 !important;
    border-color: #89DCD8 !important;
  }
  
  .calendar-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.5;
  }

.td-swiper-pagination {
  position: relative;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px; /* Adjust based on your layout */
}

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500&display=swap');

  .modal-pkg-filter-cal {
    font-family: 'Instrument Sans', sans-serif;
    width: 230px;
    padding: 12px 20px;
    font-size: 14px;
    background-color: #E5F7F6;
    border: 1px solid #00B4A9;
    border-radius: 8px;
    color: #00B4A9;
    cursor: pointer;
    outline: none;
  }

  .modal-pkg-filter-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
  }

  .modal-pkg-calendar-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #00B4A9;
    display: none;
    opacity: 0.5;
    pointer-events: none;
  }

  /* DateRangePicker styles */
  .daterangepicker {
    font-family: 'Instrument Sans', sans-serif;
    border-color: #00B4A9;
    z-index: 9999;
  }

  .daterangepicker .calendar-table {
    border: none;
  }

  .daterangepicker .calendar-table th,
  .daterangepicker .calendar-table td {
    font-family: 'Instrument Sans', sans-serif;
  }

  .daterangepicker td.active, 
  .daterangepicker td.active:hover {
    background-color: #89DCD8 !important;
    color: #000000 !important;
    font-weight: 500;
  }

  .daterangepicker td.in-range {
    background-color: #E5F7F6 !important;
    color: #000000 !important;
  }

  .daterangepicker td.in-range:hover {
    background-color: #C7EEEC !important;
  }

  .daterangepicker td.start-date,
  .daterangepicker td.end-date {
    background-color: #89DCD8 !important;
    color: #000000 !important;
    font-weight: 500;
  }

  .daterangepicker td.start-date.end-date {
    border-radius: 4px;
  }

  .daterangepicker td.active.start-date {
    border-radius: 4px 0 0 4px;
  }

  .daterangepicker td.active.end-date {
    border-radius: 0 4px 4px 0;
  }

  .daterangepicker .btn-primary {
    background-color: #00B4A9;
    border-color: #00B4A9;
    color: #ffffff;
  }

  .daterangepicker .btn-primary:hover {
    background-color: #008C84;
    border-color: #008C84;
  }

  .daterangepicker .month,
  .daterangepicker .year {
    color: #00B4A9;
  }

  .daterangepicker th.month {
    font-weight: bold;
  }

  .daterangepicker th.week {
    color: #00B4A9;
  }

  .daterangepicker td:hover {
    background-color: #C7EEEC;
  }

  .daterangepicker td.today {
    background-color: #C7EEEC;
    color: #000000;
    font-weight: bold;
    position: relative;
  }

  .daterangepicker td.today:after {
    content: "";
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 6px 6px;
    border-color: transparent transparent #00B4A9 transparent;
  }

  .daterangepicker td.off,
  .daterangepicker td.disabled {
    background-color: #f8f9fa;
    color: #6c757d;
  }
  
  .daterangepicker .next {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    font-family: var(--brand-font--secondary);
    color: var(--untitled-ui--white);
    background-color: #00b4a9;
    border-style: none;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    display: flex;
  }
  
  .daterangepicker .prev.available {
    background-color: #00b4a9;
  }

  /* Hide last row of each month */
  .daterangepicker .calendar-table tbody tr:last-child {
    display: none;
  }

  /* Adjust calendar height */
  .daterangepicker .calendar.left,
  .daterangepicker .calendar.right {
    max-height: 300px;
  }

  /* Calendar table height */
  .daterangepicker .calendar-table {
    height: 100%;
  }

  /* Alternate background colors for current and next month */
  .daterangepicker .calendar-table tbody tr td:not(.off) {
    background-color: #ffffff;
  }

  .daterangepicker .calendar-table tbody tr td.off {
    background-color: #f0f9f8;
  }

#s-event-name,
#s-event-price {
    color: #7B7B7B;
    font-family: "Instrument Sans";
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.td-custom-pkg-wrap {
  overflow: auto; /* Enables scrolling */
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

/* For WebKit-based browsers (e.g., Chrome, Safari) */
.td-custom-pkg-wrap::-webkit-scrollbar {
  display: none; /* Hides the scrollbar */
}

#obfuscated-email a,
  #obfuscated-email a:visited {
    color: white !important;
    opacity: 80%;
    text-decoration: none;
  }

#obfuscated-email a,
  #obfuscated-email a:visited {
    color: white !important;
    opacity: 80%;
    text-decoration: none;
  }

#obfuscated-support-email a,
  #obfuscated-support-email a:visited {
    color: white !important;
    opacity: 80%;
    text-decoration: none;
  }

.wa-float {
  position: fixed;
  bottom: 12%;
  right: 8px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 9999;
  text-decoration: none;
}
