/* Zoekbalk  */

.ae-booking-bar {
  border-radius: 4px;
  background-color: rgba(0,0,0,.4);
  padding: 20px 16px;
  margin: 40px 0;
  z-index: 9;
  position: relative;
}

.ae-booking-form {
  display: grid;
  grid-template-columns: 2fr 2fr 3fr auto;
  gap: 10px;
  align-items: stretch;
}

.ae-booking-form > * {
  min-width: 0;
}

.ae-field {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px 20px;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ae-label {
  padding: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #757575;
  display: block;
}

.ae-select {
  border: 1px solid #ddd;
  border-radius: 6px;
  height: 34px;
  padding: 5px 8px;
  display: flex;
  font-size: 12px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #fff;
  user-select: none;
  position: relative;
  z-index: 5;
}

.ae-value {
  font-size: 16px;
  font-weight: 600;
  color: #121212;
}

.ae-dropdown {
  position: absolute;
    contain: layout;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
  display: none;
  z-index: 999;
}

.ae-dropdown-field.is-open .ae-dropdown {
  display: block;
}

.ae-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 12px;
}

.ae-dropdown li {
  margin-bottom: 6px;
}

.ae-dropdown li:last-child {
  margin-bottom: 0;
}

.ae-dropdown input {
  display: none;
}

.ae-dropdown label {
  display: block;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ae-dropdown label:hover {
  background: #f2f2f2;
}

.ae-submit {
  display: flex;
  height: 90px;
}
.ae-submit :hover{
background-color:#fff;
}

/* Dropdown kleur */
.ae-field.is-selected .ae-select {
  background: #e6f4ea;
  border-color: #4caf50;
}

.ae-field.is-selected .ae-value {
  color: #2e7d32;
  font-weight: 700;
}

/* Breedte per item */
.ae-booking-form .ae-dropdown-field:nth-of-type(1) {
  min-width: 200px; 
}

.ae-booking-form .ae-dropdown-field:nth-of-type(2) {
  min-width: 400px;
}

/* Mobiel specifiek */
@media (max-width: 1199px) {

  .ae-booking-bar {
    background-color: #fff;
    padding: 12px 10px;
  }

  .ae-booking-form {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ae-dropdown-field,
  .vtype,
  .ae-submit .button{
    min-width: 100% !important;
    width: 100%;
  }

  .ae-field {
    padding: 0;
    margin: 0;
  }

  .ae-label {
    padding-left: 10px;
  }

  .ae-select {
    border: 0;
    margin: 5px 10px;
  }
.ae-submit .button {
  height:60px;
  align-self: center;
}

  .ae-booking-bar,
  .ae-booking-form {
    overflow-x: hidden;
  }
}


/* Datum Selector */

.date-range-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.date-block {
  width: 100%;
}

.date-block.from {
  padding-bottom: 5px;
}
.date-select {
  display: flex;
  align-items: center;
  gap: 4px;

}

.date-label {
  width: 35%;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
}

.date-select select {
  height: 30px;
  min-height: 30px;

  width: auto;

  max-width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 30px;

  text-align: center;
  text-align-last: center;

  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 3px;

  appearance: auto;
  -webkit-appearance: menulist;

  overflow-y: auto;
}

/* mobiel */
@media (max-width: 768px) {
  .date-label {
    width: 40%;
    font-size: 12px;
  }

  .date-select select {
    font-size: 13px;
    padding: 0 6px;
  }
}

.vtype.is-selected .date-select select {
  background: #ffffff;
  border-color: #4caf50;
}
