.ad-short-booking label { display: none; }

@media screen and (max-width: 768px) {
  body {
    margin: 0;
    padding: 12px;
    font: 16px/1.5 system-ui, sans-serif;
    color: #15313d;
    overflow-wrap: anywhere;
  }
  *, *::before, *::after { box-sizing: border-box; }
  table, td, th { max-width: 100% !important; white-space: normal !important; }
  body > table, body > div > table, table.homepage_main_table, table[summary="pricelist"] {
    width: 100% !important;
    table-layout: fixed;
    border: 0 !important;
  }
  .ad-book-step .ad-book-shell,
  .ad-book-shell > tbody,
  .ad-book-shell > tbody > tr,
  .ad-book-shell > tbody > tr > td {
    display: block;
    width: 100% !important;
  }
  .ad-book-shell td > table:not(.ad-site-header) {
    width: 100% !important;
    table-layout: fixed;
  }
  .ad-book-shell td > table:not(.ad-site-header) > tbody > tr > td {
    padding: 5px 4px;
    vertical-align: top;
  }
  .ad-book-shell input[id$="Hour"], .ad-book-shell input[id$="Minutes"] {
    width: 3em;
  }
  .ad-book-step textarea { width: 100%; }
  .ad-book-step input[type=submit] { white-space: normal; height: auto; }
  td, th { font-size: inherit !important; }
  font { font-size: inherit; }
  img, iframe, video { max-width: 100%; }
  img { height: auto; }
  input, select, textarea, button {
    max-width: 100% !important;
    font: inherit;
  }
  input:not([type=hidden]):not([type=checkbox]):not([type=radio]), select, textarea, button {
    min-height: 44px;
  }
  input[type=checkbox], input[type=radio] { width: 18px; height: 18px; vertical-align: middle; }
  input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
    outline: 2px solid #096381;
    outline-offset: 2px;
  }
  .ad-site-header > tbody > tr:first-child > td:first-child { width: 100%; }
  .ad-site-header > tbody > tr:first-child > td:nth-child(2),
  .ad-site-header > tbody > tr:nth-child(2) { display: none; }
  .ad-mobile-nav[hidden] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
    margin: 8px 0;
  }
  .ad-mobile-nav a {
    padding: 7px 0;
    color: #154e64;
    font: 500 15px/1.4 system-ui, sans-serif;
    text-decoration: underline;
    text-underline-offset: .18em;
  }
  .ad-mobile-nav a:hover {
    color: #0b3445;
    text-decoration-thickness: 2px;
  }
  .ad-home #homepage_main_table > tbody { display: flex; flex-direction: column; }
  .ad-home #homepage_main_table > tbody > tr { display: block; }
  .ad-home #homepage_main_table > tbody > tr > td { display: block; width: 100%; }
  .ad-home #homepage_main_table > tbody > .ad-home-intro { order: 1; }
  .ad-home #homepage_main_table > tbody > .ad-home-intro ~ tr:not(:has(.ad-short-booking)) { order: 2; }
  .ad-short-booking {
    margin: 8px auto 16px;
    padding: 12px;
    background: #f3f8fa;
    border: 1px solid #cedee4;
    border-radius: 10px;
    text-align: left;
  }
  .ad-short-booking table, .ad-short-booking tbody, .ad-short-booking tr { display: block; }
  .ad-short-booking tr { background: transparent !important; }
  .ad-short-booking td {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 8px;
    padding: 6px 0;
  }
  .ad-short-booking label { display: block; font-size: 14px; font-weight: 600; }
  .ad-short-booking .ad-place, .ad-short-booking input[type=submit] { grid-column: 1 / -1; }
  .ad-short-booking input, .ad-short-booking select { width: 100%; padding: 6px; }
  .ad-short-booking input[type=submit], .car-book-button {
    background: #154e64;
    color: white !important;
    border: 0;
    border-radius: 6px;
    font-weight: 700;
  }
  #car-feature-filters label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-right: 10px;
  }
  .car-variant { gap: 10px; }
  .car-variant-booking { width: 100%; grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
  .car-book-button { min-height: 44px; }
  #ui-datepicker-div, #ui-timepicker-div { max-width: calc(100vw - 16px); }
  #ui-datepicker-div td, #ui-timepicker-div td { font-size: 14px !important; }
  #ui-timepicker-div table { width: auto !important; table-layout: auto; }
  #ui-timepicker-div td { white-space: nowrap !important; }
  #ui-timepicker-div td a, #ui-timepicker-div td span {
    width: auto !important;
    min-width: 2em !important;
    padding: .4em .25em !important;
    text-align: center;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

/* Preview only. Layer over the current customer stylesheets. */
@media screen {
  body { color: #20353c; line-height: 1.5; }
  a:link, a:visited { color: #154e64; }
  a:hover { color: #0b3445; text-decoration: underline; text-underline-offset: .18em; }
  .ad-short-booking select, .ad-short-booking input:not([type=submit]) {
    border: 1px solid #859da5;
    border-radius: 4px;
    background: #fff;
    color: #20353c;
  }
  #car-feature-filters fieldset { border: 1px solid #afc4cc; border-radius: 4px; }
  .car-family-card h2 { background: #edf3f5; color: #154e64; }
  .ad-book-shell td > table:not(.ad-site-header) > tbody > tr > td {
    border-bottom: 1px solid #e4edef;
  }
}
@media screen and (min-width: 769px) {
  body { font-size: 13px; }
  .ad-site-header { margin-bottom: 4px; }
  .ad-short-booking td { padding: 4px 2px; }
  .ad-short-booking select, .ad-short-booking input:not([type=submit]) { padding: 4px 5px; }
}
