.search-container {
  background-color: var(--color-light-search-shadow);
  padding: var(--search-bar-border-width);
  border-radius: var(--search-bar-outer-border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 115);
  display: flex;
  align-items: center;
  position: absolute;
  top: calc(42% - var(--search-bar-height) / 2);
  left: calc(50% - (var(--search-bar-width) / 2));
  z-index: 101;
}
[data-theme='dark'] .search-container {
  background-color: var(--color-dark-header-columns);
}

.search-input {
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 16px;
  max-width: 200px;
  color: var(--color-light-text);
  background-color: transparent;
  min-height: 26px !important;
  height: var(--search-bar-height);
  display: flex;
  align-items: center;
  text-align: center;
  user-select: none;
  color: inherit;
}

.lista-sezione-struttura-elimina {
  margin-top: 1px;
  border: 1px solid;
  border-radius: 4px;
  padding: 0px 3px;
  right: 10px;
  position: absolute;
}

.lista-sezione-struttura-elimina:hover {
  cursor: pointer;
  color: red;
}

#nome-bottone-persone {
  width: 230px;
  max-width: 230px;
}

.search-input-field-persone {
  width: 230px;
}

.search-input:hover:not(:active) {
  color: var(--color-light-dropdown-text) !important;
  background-color: transparent;
}
[data-theme='dark'] .search-input:hover:not(:active) {
  color: var(--color-dark-dropdown-text) !important;
  background-color: transparent;
}

.search-input:focus-visible:not(:active) {
  color: var(--color-light-dropdown-text) !important;
  background-color: transparent;
}
[data-theme='dark'] .search-input:focus-visible:not(:active) {
  color: var(--color-dark-dropdown-text) !important;
  background-color: transparent;
}

.search-input-field:hover::placeholder {
  color: var(--color-light-dropdown-text);
}
[data-theme='dark'] .search-input-field:hover::placeholder {
  color: var(--color-light-dropdown-text);
}

.search-input-field:active::placeholder {
  color: var(--color-light-dropdown-text);
}
[data-theme='dark'] .search-input-field:active::placeholder {
  color: var(--color-light-dropdown-text);
}

.search-input:active {
  color: var(--color-light-dropdown-active-color);
  background-color: var(--color-light-dropdown-active-background);
}
[data-theme='dark'] .search-input:active {
  color: var(--color-dark-dropdown-active-color);
  background-color: var(--color-dark-dropdown-active-background);
}

.search-button {
  color: var(--color-light-dropdown-active-color);
  background-color: var(--color-light-dropdown-active-background);
  border: none;
  padding: 0 25px;
  font-size: 16px;
  border-radius: 20px;
  cursor: pointer;
  height: var(--search-bar-height);
  min-height: 24px;
}
[data-theme='dark'] .search-button {
  background-color: var(--color-dark-dropdown-background);
  color: var(--color-dark-dropdown-text);
}

.search-button:hover {
  background-color: var(--color-light-dropdown-text);
}
[data-theme='dark'] .search-button:hover {
  background-color: var(--color-dark-dropdown-background);
  color: var(--color-dark-dropdown-text);
}

.search-icon {
  margin-right: 10px;
}

.search-input-rounded {
  border-radius: 0px;
  height: var(--search-bar-height) !important;
  min-height: 26px !important;
  width: 200px;
}

.search-input,
.search-input-field,
.search-button {
  user-select: none;
  cursor: pointer;
}

.search-input::placeholder {
  color: inherit;
}

.search-input:hover::placeholder {
  color: var(--color-light-active-color);
}
[data-theme='dark'] .search-input:hover::placeholder {
  color: var(--color-dark-active-color);
}

.search-input:active::placeholder {
  color: var(--color-light-active-color);
}
[data-theme='dark'] .search-input:active::placeholder {
  color: var(--color-dark-active-color);
}

.btn-check:checked + .btn,
:not(.btn-check) + .btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
  color: var(--color-light-dropdown-active-color);
  background-color: var(--color-light-active-background);
  border-color: var(--color-light-active-background);
}
[data-theme='dark'] .btn-check:checked + .btn,
:not(.btn-check) + .btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
  color: var(--color-dark-dropdown-active-color);
  background-color: var(--color-dark-active-background);
  border-color: var(--color-dark-active-background);
}

.search-button {
  white-space: nowrap;
  border-radius: 0 var(--search-bar-inner-border-radius) var(--search-bar-inner-border-radius) 0;
}

#data-checkin {
  border-radius: var(--search-bar-inner-border-radius) 0 0 var(--search-bar-inner-border-radius) !important;
  width: 200px !important;
  margin: 0 !important;
}

#data-checkout {
  border-radius: 0 !important;
  width: 200px !important;
  margin: 0 !important;
}

#icon-checkin {
  background-color: transparent;
  position: absolute;
  margin-left: 6px;
}

#icon-checkout {
  background-color: transparent;
  position: absolute;
  margin-left: 6px;
}

.search-container > .search-input-field:first-child {
  border-radius: var(--search-bar-outer-border-radius) 0 0 var(--search-bar-outer-border-radius);
}

.search-container > hr {
  width: 2px;
  background-color: var(--color-light-border);
  height: calc(var(--search-bar-height) - 12px);
  margin: 0;
  position: absolute;
  left: calc(3px + 200px);
  z-index: 5;
  opacity: 1;
  border: 0;
}

.search-container hr:nth-child(4) {
  left: calc(3px + 200px * 2);
}

.search-container hr:nth-child(6) {
  left: calc(3px + 200px * 3);
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
}

.label-checkout {
  display: none;
}

/* MOBILE */

@media only screen and (max-width: 1000px) {
  .search-container {
    top: calc(25% - var(--search-bar-height) / 2);
    left: calc(50% - 254px);
    width: 508px;
    display: inline-table;
    border-radius: 5px;
    background-color: #00000070;
    box-shadow: 0 5px 20px rgb(0 0 0 / 68%);
  }
  .search-container > * {
    display: block;
    border-radius: 0px;
    width: 500px;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
  }
  .search-container > hr {
    display: none;
  }
  #data-checkin {
    width: 251px !important;
    min-width: 251px !important;
    max-width: 251px !important;
    padding-top: 40px !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    z-index: 150;
    position: relative;
  }
  #data-checkout {
    width: 251px !important;
    min-width: 251px !important;
    max-width: 251px !important;
    padding-top: 40px !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    z-index: 150;
    position: relative;
  }
  #icon-checkin {
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    padding-top: 40px !important;
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    right: 196px;
    font-size: 20px;
  }
  #icon-checkout {
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    padding-top: 40px !important;
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    right: -53px;
    font-size: 20px;
  }
  #nome-bottone-tipologia-0 {
    width: 251px !important;
    min-width: 251px !important;
    max-width: 251px !important;
    text-align: center !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }
  .search-input-field-struttura {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }
  .search-input-field-persone {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }
  #nome-bottone-persone {
    width: 251px !important;
    min-width: 251px !important;
    max-width: 251px !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }
  .search-container > .search-input-field:first-child {
    /* border-radius: var(--search-bar-outer-border-radius) var(--search-bar-outer-border-radius) 0 0; */
    border-radius: 0 !important;
  }
  .search-input-field {
    display: inline-block !important;
    width: 251px;
    border: 1px solid transparent;
    margin: -2px;
    margin-left: 0;
    margin-top: 0;
  }
  #data-checkin:active {
    border-radius: 0 !important;
  }
  #data-checkin:active {
    border-radius: 0 !important;
  }
  #data-checkin:active {
    border-radius: 0 !important;
  }
  .search-container > .search-button {
    /* border-radius: 0 0 var(--search-bar-outer-border-radius) var(--search-bar-outer-border-radius); */
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    font-size: x-large;
    border-radius: 0 0 4px 4px;
  }
  #data-checkin {
    font-size: large !important;
  }
  #data-checkout {
    font-size: large !important;
  }
  #nome-bottone-tipologia-0 {
    font-size: large !important;
  }
  #nome-bottone-persone {
    font-size: large !important;
  }
  .tipologia-dropdown-arrow {
    top: 3px !important;
  }
  .label-checkout {
    display: block;
    position: absolute !important;
    font-size: large !important;
    margin-left: 15px !important;
    margin-top: 8px !important;
  }
  #dropdown-persone {
    position: fixed;
    bottom: 0;
    z-index: 150;
    top: auto;
    height: 40%;
    overflow-y: auto;
    padding: 5px;
    left: 0;
    width: 100vw;
  }
  #dropdown-persone > a {
    margin-bottom: -1px;
    padding: 25px !important;
    height: 70px;
    font-size: larger;
  }
  .dropdown-persone-tipipersona {
    position: fixed;
    bottom: 0;
    z-index: 150;
    top: auto;
    height: 40%;
    overflow-y: auto;
    padding: 5px;
    left: 0;
    width: 100vw;
  }
  .dropdown-persone-tipipersona > a {
    margin-bottom: -1px;
    padding: 25px !important;
    height: 70px;
    font-size: larger;
  }
  .input-wrapper button:first-child {
    height: 40px !important;
    width: 40px !important;
    font-size: xx-large;
    line-height: 0px;
  }
  .input-wrapper button:last-child {
    height: 40px !important;
    width: 40px !important;
    font-size: xx-large;
    line-height: 0px;
  }
  .input-wrapper {
    bottom: 25px !important;
    right: 50px !important;
  }
  .input-wrapper button:last-child {
    right: 1px !important;
  }
  .input-wrapper button:first-child {
    right: 141px !important;
  }
  input[type='number'] {
    width: 100% !important;
    max-width: 100% !important;
    right: 40px !important;
    height: 40px !important;
  }
  .lista-sezione-struttura-elimina {
    display: block;
    width: 40px;
    text-align: center;
    height: 40px;
    font-size: x-large;
    margin-top: 5px;
  }
  .tipologia-dropdown-arrow {
    position: relative !important;
  }
  .search-input-field {
    /* margin-top: -10px !important; */
  }
  .search-input-date {
    margin-top: 0 !important;
  }
  #icon-checkin {
    display: none;
  }
  #icon-checkout {
    display: none;
  }
  .search-input-date {
    border-top-right-radius: 3px !important;
  }
  .search-container > .search-input-field:first-child {
    border-top-left-radius: 3px !important;
  }
}

input[type='date']::-webkit-inner-spin-button,
input[type='date']::-webkit-calendar-picker-indicator,
input[type='date']::-webkit-list-button,
input[type='date']::-webkit-clear-button,
input[type='date']::-webkit-outer-spin-button,
input[type='date']::-ms-expand {
  /* display: none !important;
    -webkit-appearance: none !important; */
  opacity: 0 !important;
  -moz-appearance: none;
  -webkit-appearance: none;
}
input[type='date'] {
  /* display: none !important;
    -webkit-appearance: none !important; */
  -moz-appearance: none;
  -webkit-appearance: none;
}

@media only screen and (max-width: 600px) {
  .search-container {
    top: calc(25% - var(--search-bar-height) / 2);
    left: calc(50% - 179px);
    width: 358px;
    display: inline-table;
    border-radius: 5px;
  }
  .search-input-field {
    width: 176px;
    min-width: 176px;
    max-width: 176px;
  }
  #data-checkin {
    width: 176px !important;
    min-width: 176px !important;
    max-width: 176px !important;
    margin-bottom: -8px !important;
  }
  #data-checkout {
    width: 176px !important;
    min-width: 176px !important;
    max-width: 176px !important;
    margin-bottom: -8px !important;
  }
  #nome-bottone-tipologia-0 {
    width: 176px !important;
    min-width: 176px !important;
    max-width: 176px !important;
  }
  #nome-bottone-persone {
    width: 176px !important;
    min-width: 176px !important;
    max-width: 176px !important;
  }
  .search-button {
    width: 350px;
  }
}
