.booking-form-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.booking-form {
  width: 90%;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.text-center {
  text-align: center;
}

.booking-form h3 {
  font-weight: 700;
  font-size: 34px;
  color: #2681ff; 	
}

.trip-details.destination-details,
.passenger-details {
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	flex-flow: wrap;
}

.passenger-details {
  gap: 8px;
  align-items: center;
}

.passenger-details .form-group {
  display: flex;
  align-items: center;
}

.ml-auto {
  margin-left: auto;
}

.position-relative {
  position: relative;
}



.autocomplete-container {
  max-height: 150px;
  overflow: auto;
  background: #fff;
  border: 1px solid #cecece;
  position: absolute;
  width: 100%;
  margin-top: -2px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.autocomplete-item:not(:last-child) {
  border-bottom: 1px solid #cecece;
}

.autocomplete-item {
  padding: 4px 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.autocomplete-item:hover,
.autocomplete-item:focus {
  background: #eee;
  outline: none;
}

.input-city {
  position: absolute;
  right: 6px;
  top: 50%;
  font-size: 14px;
  font-weight: 600;
}

.autocomplete-container::-webkit-scrollbar {
  width: 8px;
}

.autocomplete-container::-webkit-scrollbar-track {
  background: #f3f3f3;
  border-radius: 16px;
  margin-bottom: 6px;
}

.autocomplete-container::-webkit-scrollbar-thumb {
  background: #868d92;
  border-radius: 10px;
}

.autocomplete-container::-webkit-scrollbar-thumb:hover {
  background: #575e63;
}

.booking-form-wrapper .form-control {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-group-depart .inputText {
  border-radius: 0px;
  -webkit-border-top-left-radius: 0.25rem;
  -webkit-border-bottom-left-radius: 0.25rem;
  -moz-border-radius-topleft: 0.25rem;
  -moz-border-radius-bottomleft: 0.25rem;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.form-group-return .inputText {
  border-left: 0px solid #fff;
  border-radius: 0px;
  -webkit-border-top-right-radius: 0.25rem;
  -webkit-border-bottom-right-radius: 0.25rem;
  -moz-border-radius-topright: 0.25rem;
  -moz-border-radius-bottomright: 0.25rem;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}


.form-group .inputLabel {
  display: block;
  font-weight: bold;
}

.form-group .inputText {
  height: 50px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group-depart {
  margin-left: 15px;
}

.form-group-return {
  margin-right: 15px;
}


.destination-details .placeTo {
  display: inline-block;
  height: 48px;
  width: 48px;
  padding: 12px 15px;
  text-align: center;
  margin: 0px 5px 20px;
  background: transparent;
  border-width: 0px;
  border-radius: 50%;
  color: #3b67e2;
  cursor: pointer;
}

.form-group .inputNumber {
  height: 50px;
  width: 100px;
}

.form-group .numerLabel {
  margin-left: 10px;
  font-weight: bold;
}

#bookingDetailsSubmit {
  background-color: #3b67e2;
  border-color: #2a55cb;
  border-radius: 8px;
  border-width: 2px;
  transition: all .3s ease-in;
}

#bookingDetailsSubmit:hover {
  background-color: #fff;
  color: #3b67e2;
  border-color: #2a55cb;
}


/* Search Result Page */

.fr {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.fr>* {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-1 {
  flex: 0 0 auto;
  width: calc(1/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-2 {
  flex: 0 0 auto;
  width: calc(2/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-3 {
  flex: 0 0 auto;
  width: calc(3/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-4 {
  flex: 0 0 auto;
  width: calc(4/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-5 {
  flex: 0 0 auto;
  width: calc(5/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-6 {
  flex: 0 0 auto;
  width: calc(6/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-7 {
  flex: 0 0 auto;
  width: calc(7/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-8 {
  flex: 0 0 auto;
  width: calc(8/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-9 {
  flex: 0 0 auto;
  width: calc(9/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-10 {
  flex: 0 0 auto;
  width: calc(10/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-11 {
  flex: 0 0 auto;
  width: calc(11/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.fcl-12 {
  flex: 0 0 auto;
  width: calc(12/12 * 100%);
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

@media screen and (min-width: 992px){
	
.fcl-lg-1 {
  flex: 0 0 auto;
  width: calc(1/12 * 100%);
  max-width: 100%;
}

.fcl-lg-2 {
  flex: 0 0 auto;
  width: calc(2/12 * 100%);
  max-width: 100%;
}

.fcl-lg-3 {
  flex: 0 0 auto;
  width: calc(3/12 * 100%);
  max-width: 100%;
}

.fcl-lg-4 {
  flex: 0 0 auto;
  width: calc(4/12 * 100%);
  max-width: 100%;
}

.fcl-lg-5 {
  flex: 0 0 auto;
  width: calc(5/12 * 100%);
  max-width: 100%;
}

.fcl-lg-6 {
  flex: 0 0 auto;
  width: calc(6/12 * 100%);
  max-width: 100%;
}

.fcl-lg-7 {
  flex: 0 0 auto;
  width: calc(7/12 * 100%);
  max-width: 100%;
}

.fcl-lg-8 {
  flex: 0 0 auto;
  width: calc(8/12 * 100%);
  max-width: 100%;
}

.fcl-lg-9 {
  flex: 0 0 auto;
  width: calc(9/12 * 100%);
  max-width: 100%;
}

.fcl-lg-10 {
  flex: 0 0 auto;
  width: calc(10/12 * 100%);
  max-width: 100%;
}

.fcl-lg-11 {
  flex: 0 0 auto;
  width: calc(11/12 * 100%);
  max-width: 100%;
}

.fcl-lg-12 {
  flex: 0 0 auto;
  width: calc(12/12 * 100%);
  max-width: 100%;
}

}

.flex-column {
  flex-flow: column;
}

.flights-search-results {
  margin-left: auto;
  margin-right: auto;
}

.single-flight-box {
  padding: 20px 20px 15px 20px;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
}

.flight-details {
  align-items: center;
}

.single-flight-box .depart-return-title h2 {
  margin: 0 0 1rem;
  font-size: 14px;
  color: #404040;
}

.depart-return-title {
  display: flex;
  justify-content: space-between
}

.depart-return-title .cabin-class {
  font-size: 13px;
  font-weight: 600;
  color: #aaa;
}


.est-time-type {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

h5.dur {
  margin: 0;
  font-size: 12px;
  font-weight: bold;
  color: #a6a6a6;
}

h5.type {
  font-size: 12px;
  font-weight: 800;
  margin: 0;
  color: #a6a6a6;
  white-space: nowrap;
}

h6.sprt {
  margin: 0;
  width: 100%;
}

h6.sprt span {
  position: relative;
  margin: 2px 0;
  width: 100%;
  height: 2px;
  display: inline-flex;
}

h6.sprt span::before {
  content: '';
  position: absolute;
  height: 1px;
  width: 100%;
  background: #a6a6a6;
}

.airport-code,
.flight-time {
  text-align: center;
}

.flight-time {
  font-weight: 600;
  white-space: nowrap;
}

.airport-code {
  color: #a6a6a6;
  font-weight: 600;
}

.flight-airline-logo {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
}

.flight-airline-logo img {
  width: 40px;
}

.flight-airline-logo span {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  margin-top: 4px;
}

.single-flight-box .price-box h2 {
  color: #404040;
  margin: 0;
  font-size: 16px;
}

.price-box {
  text-align: end;
}

.single-flight-box .price-box span {
  font-size: 12px;
  color: #a6a6a6;
  margin-bottom: 5px;
  display: inline-block;
  font-weight: 600;
}

.single-flight-box button {
  border: 2px solid;
  background: transparent;
  color: #2b302b;
  border-radius: 8px;
  padding: 15px 20px;
  font-weight: 600;
  font-size: .8rem;
}

.flights-loader {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ccc;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flight-content {
  width: 350px;
  background: #fff;
  border-radius: 8px;
  padding: 10px 15px 45px;
  position: relative;
}

.flight-content .flight-header img {
  width: 200px;
  max-width: 100%
}

.flight-content .flight-header {
  display: flex;
  align-items: center;
  justify-content: center;
}


.flight-from-to {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 10px 0;
}

span.f-transfer {
  width: 20px;
  height: 20px;
}

.flights-loader .flight-content .flight-depart-return-time {
  font-size: 16px !important;
  margin: 11px;
  text-align: center;
  font-weight: 600;
}

.flights-loader.hidden {
  display: none;
}


.flight-text p {
  margin-bottom: 5px;
}

.flight-text {
  margin-top: 15px;
  text-align: center;
}

.flight-loader {
  display: flex;
  align-self: center;
  justify-self: center;
  margin-top: 15px;
  width: 25px;
  height: 25px;
  border: 3px solid #0808ff;
  border-left-color: transparent;
  border-radius: 50%;
  animation: f-spin 2s infinite;
}


.bottom-ocean {
  height: 5%;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #015871;
}

.wave {
  background: url('/wp-content/plugins/booking-hub/assets/images/wave.svg') repeat-x;
  position: absolute;
  top: -198px;
  width: 6400px;
  height: 198px;
  animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
  transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2) {
  top: -175px;
  animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
  opacity: 1;
}

@keyframes wave {
  0% {
    margin-left: 0;
  }

  100% {
    margin-left: -1600px;
  }
}

@keyframes swell {

  0%,
  100% {
    transform: translate3d(0, -25px, 0);
  }

  50% {
    transform: translate3d(0, 5px, 0);
  }
}

@keyframes f-spin {
  from {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

/* Style for the modal overlay */
.modal-overlay {
  display: none;
  /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Style for the modal box */
.flight-modal {
  display: none;
  background: white;
  position: fixed;
  top: 0;
  right: 0;
  padding: 20px;
  width: 500px;
  height: 100%;
  max-width: 90%;
  overflow: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: slide-left 0.5s ease-out;
  /* Slide-down animation */
  z-index: 1100;
}

body.flight-modal-open {
  overflow: hidden;
}

.flight-modal.hide {
  animation: slide-right 0.5s ease-out;
}

/* Search Results page */
.flights-search-result-inner {
  display: flex;
  flex-flow: row wrap;
}

.flight-search-filter {
  width: 25%;
  flex: 0 0 auto;
  margin-top: 20px;
  padding-left: .75rem;
  padding-right: .75rem;
  display: none;
}

.search-results-wrapper {
  width: 100%;
  flex: 0 0 auto;
  margin-top: 20px;
  padding-left: .75rem;
  padding-right: .75rem;
}

.search-filter-header {
  display: flex;
  width: 100%;
}

.search-fliter {
  box-shadow: 0 0 12px rgb( 0 0 0 / 30%);
  border-radius: 8px;
  display: flex;
  flex-flow: column wrap;
  overflow: hidden;
}

.search-filter-header {
  padding: .75rem;
}

.search-filter-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-filter-header .svg-icon {
  border-radius: 50%;
  background: #bbbbec;
  padding: 7px;
  line-height: 1.4;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-filter-header .svg-icon svg {
  width: 20px;
}

.separator {
  width: 100%;
  height: 1px;
  background: #ccc;
}

/* Result Page Form  */

.modify-flight-forms {
  background: #223;
  padding: 10px 15px;
  border-radius: 8px;
}

.modify-flight-forms input[type="text"],
.modify-flight-forms .inputNumber {
  width: 100%
}

.modify-flight-forms input {
  border-radius: 0.25rem;
}

.modify-flight-forms form {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  justify-content: flex-start;
}

.modify-flight-forms form label {
  color: #fff;
}


.placeSwitch--wrapper {
  height: 50px;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-content: center;
}

.modify-flight-forms form .placeSwitch {
  background: transparent;
  padding: 0;
  font-size: 16px;
}

.modify-flight-forms form .form-group {
  margin-bottom: 5px;
}

.depart-return-date {
  display: flex;
  gap: 0;
}

.depart-return-date .form-group-depart,
.depart-return-date .form-group-return {
  margin: 0;
}

.depart-return-date .form-group-depart input,
.depart-return-date .form-group-return input {
  border: 0;
}

.modify-flight-forms button#bookingDetailsSubmit {
  margin-bottom: 5px;
  height: 50px;
  padding: 10px 20px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}


.load-more-flights {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.load-more-flights button,
.load-more-flights input[type="button"] {
  background: #212134;
  border: 2px solid #212134;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all .25s linear;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  line-height: 1.6;
}

.load-more-flights button svg {
  width: 18px;
  display: none;
  animation: f-spin 2s linear infinite;
}

.load-more-flights button.showLoader svg{
  display: inline-block;
} 

.load-more-flights button:hover,
.load-more-flights input[type="button"]:hover {
  background: #fff;
  color: #212134;
}

#search-results::before,
#search-results::after {
  content: '';
  clear: both;
  display: table;
}

/* Modal open animation */
@keyframes slide-left {
  from {
    transform: translateX(600px);
  }

  to {
    transform: translateX(0);
  }
}

/* Modal close animation */
@keyframes slide-right {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(600px);
  }
}

/* Close button styling */
.single-flight-box .close-btn {
  border: none;
  cursor: pointer;
  position: fixed;
  top: 0;
  right: 12px;
  margin: 0;
  font-size: 28px;
  padding: 10px 15px;
  color: #999;
}

/* Button to open modal */
.open-modal-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}


.single-flight-box .depart-return-section h2 {
  color: #233;
  font-size: 16px;
  margin: 0;
}

.single-flight-box .depart-return-section {
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 8px 0;
  box-shadow: 2px 4px 12px rgb(3 3 3 / 20%)
}


@media only screen and (min-width: 1200px) {
  .flight-return {
    border-left: 1px solid #e7e8ec;
    border-right: 1px solid #e7e8ec;
  }
}

@media only screen and (max-width: 520px ){
	.destination-details .placeTo {
		display: none;
	}
	
	.form-group-depart{
		margin-left: 0;
	}
	
	.form-group-return{
		margin-right: 0;
	}
	.destination-details .form-group{
		width: 100%;
	}
	.passenger-details .form-group{
		flex-flow: wrap column-reverse;
        justify-content: center;
        gap: 10px;
        align-items: flex-start;
	}
	.form-group .numerLabel{
		margin-left: 0;
	}
	
	.placeSwitch--wrapper{
	    display: none;
	}
	
	.form-control,
	.depart-return-date,
	.form-group-depart,
	.form-group-return,
	.form-group-origin,
	.form-group-destination{
	    width: 100%;
	}
	
	.modify-flight-forms form{
	    flex-wrap: wrap;
	}
}