[dir="rtl"] {
    text-align: right;
}

.navbar-brand {
    font-weight: bold;
}

.language-switcher .dropdown-item {
    cursor: pointer;
}

.language-switcher .dropdown-item.active {
    background-color: #0d6efd;
    color: white;
}

.card-hover {
  color: #777;
}

.card-hover:hover {
  transform: translateY(-5px);
  cursor: pointer;
  color: #000;
}

.card-active {
  color: #000;
  background-color: #eee;
  /* text-decoration: underline; */
}

.btn-aller-retour {
  background-color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 0px;
}

.btn-aller-retour:hover {
  border-bottom: 2px solid #007bff;
  transition: background-color 0.3s ease;
}

.btn-aller-retour-active {
  border-bottom: 2px solid #007bff;
}

.counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.counter-btn {
  width: 30px;
  height: 30px;
  background: #f5f5f5;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #555;
}

.counter-btn:hover {
  background: #e0e0e0;
  color: #333;
}

.counter-btn:active {
  background: #d0d0d0;
}

.counter-value-adult {
  width: 40px;
  height: 30px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 16px;
  font-weight: bold;
  -moz-appearance: textfield;
}

.counter-value-adult::-webkit-outer-spin-button,
.counter-value-adult::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.counter-value-adult:focus {
  outline: none;
  background: #f0f8ff;
}

.counter-value-child {
  width: 40px;
  height: 30px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 16px;
  font-weight: bold;
  -moz-appearance: textfield;
}

.counter-value-child::-webkit-outer-spin-button,
.counter-value-child::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.counter-value-child:focus {
  outline: none;
  background: #f0f8ff;
}

.counter-value-infant {
  width: 40px;
  height: 30px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 16px;
  font-weight: bold;
  -moz-appearance: textfield;
}

.counter-value-infant::-webkit-outer-spin-button,
.counter-value-infant::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.counter-value-infant:focus {
  outline: none;
  background: #f0f8ff;
}

#cabinClass {
  width: 100%;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  height: 58px;
}

#cabinClass:hover {
  border-color: #333;
}

#passengerModalButton {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  height: 58px;
  font-size: 16px;
}

#passengerModalButton:hover {
  border-color: #333;
}

#floatingdeparture:hover {
  border-color: #333;
}

#floatingdestination:hover {
  border-color: #333;
}

#floatingdate:hover {
  border-color: #333;
}

#floatingdeparture {
  height: 58px;
}

#floatingdestination {
  height: 58px;
}

#floatingdate {
  height: 58px;
}

#submitSearch{
  height: 58px;
}

.partner-companies{
  zoom: 0.75;
}

.zoom50 {
  zoom: 0.5;
}


/* Scrollable product list styles */

.scroll-wrapper {
  position: relative;
  width: 100%;
}
.scrollmenu {
  width: 100%;
  height: fit-content;
  white-space: nowrap;    
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.product-card {
  background-color: red;
  width: 100px;
  height: 100px;
  float: none;
  display: inline-block;
}
::-webkit-scrollbar {
  display: none;
}
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.2s;
}
.scroll-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.scroll-btn.left  { left:  0; }
.scroll-btn.right { right: 0; }

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}
