/*==================================================================================================
 * VROOOOM – CRM
 * Parcours public des fiches villes.
 * Version 1.5.9
//================================================================================================*/

.vroooom-crm-city-booking {
  display: flex;
  width: 100%;
  padding: 0;
  align-items: stretch;
}

.vroooom-crm-city-booking__content,
.vroooom-crm-city-booking__panel {
  flex: 1 1 50%;
  min-width: 0;
  padding: var(--padding-section, 64px) 5%;
  box-sizing: border-box;
}

.vroooom-crm-city-booking__content {
  background: #fff;
  color: var(--blue, #204590);
}

.vroooom-crm-city-booking__title {
  margin: 0 0 45px;
  color: var(--blue, #204590);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
}

.vroooom-crm-city-booking__copy {
  color: #111;
  line-height: 1.65;
}

.vroooom-crm-city-booking__copy p {
  margin-bottom: 16px;
}

.vroooom-crm-city-booking__copy h2 {
  margin: 45px 0;
  font-size: 25px;
  font-weight: 700;
}

.vroooom-crm-city-booking__copy h2,
.vroooom-crm-city-booking__copy h3,
.vroooom-crm-city-booking__copy h4,
.vroooom-crm-city-booking__copy a {
  color: var(--blue, #204590);
}

.vroooom-crm-city-booking__copy ul {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.vroooom-crm-city-booking__copy ul li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 26px;
}

.vroooom-crm-city-booking__copy ul li:last-child {
  margin-bottom: 0;
}

.vroooom-crm-city-booking__copy ul li::before {
  position: absolute;
  top: .78em;
  left: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--red, #d82f21);
}

.vroooom-crm-city-booking__copy ol {
  padding-left: 1.25rem;
}

.vroooom-crm-city-booking__panel {
  background: var(--blue, #204590);
  color: #fff;
}

#vroooom-crm-booking-form {
  position: sticky;
  top: 20px;
}

.vroooom-crm-fieldset {
  display: flex;
  align-items: center;
  gap: 9px 15px;
  flex-wrap: wrap;
  margin: 0 0 var(--mb-bloc, 28px);
  position: relative;
}

.vroooom-crm-legend {
  width: fit-content;
  margin: 0;
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
}

.vroooom-crm-legend--full {
  flex-basis: 100%;
  width: 100%;
}

.vroooom-crm-fieldset input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.vroooom-crm-fieldset input[type="radio"] + label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid #fff;
  border-radius: 25px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}

.vroooom-crm-fieldset input[type="radio"] + label:hover,
.vroooom-crm-fieldset input[type="radio"]:focus-visible + label,
.vroooom-crm-fieldset input[type="radio"]:checked + label {
  background: #fff;
  border-color: var(--red, #d82f21);
  color: var(--red, #d82f21);
}

.vroooom-crm-fieldset input[type="radio"] + label.is-disabled {
  opacity: .42;
  cursor: not-allowed;
}

.vroooom-crm-fieldset input[type="text"],
.vroooom-crm-fieldset input[type="number"],
.vroooom-crm-fieldset input[type="date"],
.vroooom-crm-fieldset input[type="time"],
.vroooom-crm-fieldset select {
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.vroooom-crm-fieldset input[type="text"] {
  width: 100%;
  padding: 10px;
}

.vroooom-crm-dates {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vroooom-crm-dates label {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.vroooom-crm-dates input[type="date"] {
  width: auto;
  min-width: 150px;
  padding: 8px 12px;
  border: 1px solid #fff;
  border-radius: 25px;
  color: #fff;
  cursor: pointer;
  caret-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  color-scheme: dark;
}

.vroooom-crm-dates input[type="date"]::-webkit-datetime-edit,
.vroooom-crm-dates input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.vroooom-crm-dates input[type="date"]::-webkit-datetime-edit-text,
.vroooom-crm-dates input[type="date"]::-webkit-datetime-edit-day-field,
.vroooom-crm-dates input[type="date"]::-webkit-datetime-edit-month-field,
.vroooom-crm-dates input[type="date"]::-webkit-datetime-edit-year-field {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.vroooom-crm-fieldset input[type="number"] {
  width: 62px;
  padding: 5px 6px;
  -moz-appearance: textfield;
  appearance: textfield;
}

.vroooom-crm-fieldset input[type="number"]::-webkit-inner-spin-button,
.vroooom-crm-fieldset input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.vroooom-crm-fieldset input[type="time"] {
  min-width: 92px;
  padding: 5px 6px;
  background: #fff;
  color: #111;
  border-radius: 3px;
}

.vroooom-crm-fieldset select {
  min-width: 140px;
  padding: 10px;
  cursor: pointer;
}

.vroooom-crm-fieldset select option {
  background: var(--blue, #204590);
  color: #fff;
}

.vroooom-crm-fieldset input::placeholder {
  color: rgba(255, 255, 255, .62);
  opacity: 1;
}

.vroooom-crm-fieldset--hours {
  align-items: center;
}

.vroooom-crm-vehicles {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  gap: 12px;
  padding-left: 24px;
}

.vroooom-crm-vehicle {
  display: flex;
  align-items: center;
  gap: 15px;
}

.vroooom-crm-vehicle label {
  color: #fff;
  font-weight: 600;
}

.vroooom-crm-vehicle small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .85);
  font-size: .8em;
  font-style: italic;
  font-weight: 400;
}

.vroooom-crm-address-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(180px, 1.35fr);
  gap: 18px;
  width: 100%;
}

.vroooom-crm-address-row input,
.vroooom-crm-address-row select {
  width: 100%;
}

.vroooom-crm-date-text {
  flex-basis: 100%;
  width: 100%;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
  font-style: italic;
}

.vroooom-crm-alert {
  flex-basis: 100%;
  width: 100%;
  padding: 10px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .9rem;
  line-height: 1.45;
}

.vroooom-crm-booking-actions {
  position: relative;
  margin-top: var(--mb-bloc, 28px);
  padding-top: var(--mb-bloc, 28px);
}

.vroooom-crm-booking-actions::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: repeating-linear-gradient(
    135deg,
    #fff 0,
    #fff 18px,
    var(--red, #d82f21) 18px,
    var(--red, #d82f21) 36px
  );
}

.vroooom-crm-primary-button,
.vroooom-crm-outline-button {
  appearance: none;
  border-radius: 28px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.vroooom-crm-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--red, #d82f21);
  background: var(--red, #d82f21);
  color: #fff;
}

.vroooom-crm-primary-button:hover,
.vroooom-crm-primary-button:focus-visible {
  background: #fff;
  color: var(--red, #d82f21);
}

.vroooom-crm-primary-button:disabled {
  opacity: .6;
  cursor: wait;
}

.vroooom-crm-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 15px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}

.vroooom-crm-outline-button:hover,
.vroooom-crm-outline-button:focus-visible {
  background: #fff;
  border-color: var(--red, #d82f21);
  color: var(--red, #d82f21);
}

.vroooom-crm-booking-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  background-color: rgba(32, 69, 144, .85);
  z-index: 99999;
}

.vroooom-crm-booking-loader[hidden] {
  display: none !important;
}

.vroooom-crm-booking-loader__spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(farthest-side, #fff 94%, #0000) top/9px 9px no-repeat,
    conic-gradient(#0000 30%, #fff);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 9px), #000 0);
  animation: vroooom-crm-spin 1s infinite linear;
}

html.vroooom-crm-booking-is-loading,
body.vroooom-crm-booking-is-loading {
  overflow: hidden !important;
}

@keyframes vroooom-crm-spin {
  100% { transform: rotate(1turn); }
}

.vroooom-crm-result {
  box-sizing: border-box;
  width: 100%;
  margin: 18px 0 16px;
  padding: 18px 20px;
  border-radius: 10px;
  line-height: 1.45;
  text-align: left;
}

.vroooom-crm-result[hidden] {
  display: none !important;
}

.vroooom-crm-result--price {
  border: 1px solid rgba(32, 69, 144, .16);
  background: #fff;
  color: var(--blue, #204590);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.vroooom-crm-result--quote {
  border: 1px solid rgba(216, 47, 33, .35);
  border-left: 4px solid var(--red, #d82f21);
  background: #fff;
  color: var(--blue, #204590);
}

.vroooom-crm-result--error {
  border: 1px solid var(--red, #d82f21);
  background: #fff;
  color: var(--red, #d82f21);
}


.vroooom-crm-result__detail {
  display: block;
  margin-top: 8px;
  font-size: .9rem;
}

.vroooom-crm-result__link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.vroooom-crm-price__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
}

.vroooom-crm-price__total-label {
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.vroooom-crm-price__total-value {
  color: var(--red, #d82f21);
  font-size: 1.35rem;
  white-space: nowrap;
}

.vroooom-crm-price__secondary {
  padding-bottom: 0;
  font-size: .9rem;
  opacity: .78;
  text-align: right;
}

.vroooom-crm-streetview {
  width: 100%;
  margin: 6px 0 24px;
}

.vroooom-crm-streetview[hidden],
.vroooom-crm-streetview__editor[hidden],
.vroooom-crm-streetview__canvas-wrap[hidden],
.vroooom-crm-streetview__success[hidden],
.vroooom-crm-outline-button[hidden],
.vroooom-crm-primary-button[hidden],
.vroooom-crm-date-text[hidden],
.vroooom-crm-alert[hidden] {
  display: none !important;
}

.vroooom-crm-streetview__editor {
  position: relative;
  margin-top: 16px;
  padding: 18px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
}

.vroooom-crm-streetview__panorama {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 280px;
  margin-bottom: 16px;
  border-radius: 5px;
  overflow: hidden;
}

.vroooom-crm-streetview__canvas-wrap {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  right: 18px;
  aspect-ratio: 16 / 9;
  pointer-events: none;
}

#vroooom-crm-streetview-canvas {
  width: 100%;
  height: 100%;
  background: transparent;
  touch-action: none;
  cursor: crosshair;
  pointer-events: auto;
}

.vroooom-crm-streetview__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vroooom-crm-streetview__instructions {
  flex-basis: 100%;
  padding-bottom: 4px;
  color: #fff;
}

.vroooom-crm-streetview__success {
  margin-top: 16px;
  padding: 8px 10px;
  border-radius: 7px;
  background: #fff;
  color: #20783a;
}

.vroooom-crm-streetview__success .vroooom-crm-outline-button {
  margin-top: 8px;
  border-color: var(--blue, #204590);
  color: var(--blue, #204590);
}

.vroooom-crm-streetview__success .vroooom-crm-outline-button:hover {
  border-color: var(--red, #d82f21);
  color: var(--red, #d82f21);
}

.vroooom-crm-city-booking .field_error {
  border-color: #ff5a4d !important;
  box-shadow: 0 0 0 1px #ff5a4d;
}

/* VROOOOM : ancien style daterangepicker neutralisé depuis le passage aux deux datepickers natifs.
.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: var(--blue, #204590);
}

.daterangepicker .applyBtn {
  border: 1px solid var(--red, #d82f21);
  border-radius: 15px;
  background: var(--red, #d82f21);
}

.daterangepicker .applyBtn:hover {
  background: #fff;
  color: var(--red, #d82f21);
}
*/

@media (max-width: 1280px) {
  .vroooom-crm-legend {
    flex-basis: 100%;
  }
}

@media (max-width: 991px) {
  .vroooom-crm-city-booking {
    flex-direction: column-reverse;
  }

  .vroooom-crm-city-booking__content,
  .vroooom-crm-city-booking__panel {
    flex-basis: auto;
    width: 100%;
  }

  #vroooom-crm-booking-form {
    position: static;
  }

  .vroooom-crm-streetview {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .vroooom-crm-city-booking__content,
  .vroooom-crm-city-booking__panel {
    padding: 42px 6%;
  }

  .vroooom-crm-fieldset {
    align-items: flex-start;
  }

  .vroooom-crm-address-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vroooom-crm-vehicles {
    padding-left: 0;
  }

  .vroooom-crm-primary-button {
    width: 100%;
  }

  .vroooom-crm-result {
    padding: 15px 16px;
  }

  .vroooom-crm-price__total {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .vroooom-crm-price__total-value {
    font-size: 1.15rem;
  }

  .vroooom-crm-price__secondary {
    text-align: left;
  }
}
