.cve-thelis-embed .thr,
.cve-thelis-embed .thr * {
  box-sizing: border-box;
}

.cve-thelis-embed .thr {
  --thr-navy: #003f67;
  --thr-teal: #00a6b7;
  --thr-coral: #c99a5b;
  --thr-gold: #c99a5b;
  --thr-cream: #fffaf0;
  --thr-line: #d9e5e8;
  color: var(--thr-navy);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  width: 100%;
}

.cve-thelis-embed .thr a {
  color: inherit;
}

.cve-thelis-embed .thr-tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 6px;
  border-radius: 999px;
  background: #eef8f7;
}

.cve-thelis-embed .thr-tabs li {
  flex: 1 1 0;
  margin: 0;
}

.cve-thelis-embed .thr-tabs li a {
  display: block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.cve-thelis-embed .thr-tabs li.active a {
  color: #fff;
  background: var(--thr-teal);
  box-shadow: 0 7px 18px rgba(0, 166, 183, .22);
}

.cve-thelis-embed .thr-tab-content {
  display: none;
}

.cve-thelis-embed .thr-tab-content.active {
  display: block;
}

.cve-thelis-embed .thr-simpleblock-filters,
.cve-thelis-embed .thr-search-date-to-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid var(--thr-line);
  border-radius: 18px;
  background: var(--thr-cream);
}

.cve-thelis-embed .thr-simpleblock-filters > div {
  display: flex;
  flex: 1 1 320px;
  align-items: center;
  gap: 10px;
}

.cve-thelis-embed select,
.cve-thelis-embed input[type="date"],
.cve-thelis-embed input[type="text"] {
  max-width: 100%;
  min-height: 46px;
  padding: 9px 38px 9px 13px;
  border: 1px solid #b9cdd2;
  border-radius: 12px;
  color: var(--thr-navy);
  background-color: #fff;
  font: inherit;
}

.cve-thelis-embed select:focus,
.cve-thelis-embed input[type="date"]:focus,
.cve-thelis-embed input[type="text"]:focus {
  border-color: var(--thr-teal);
  outline: 3px solid rgba(0, 166, 183, .15);
}


/*
 * Thelis ouvre les champs de date avec jQuery UI. Son calendrier est ajouté
 * directement à la page : ces règles lui redonnent une vraie fenêtre flottante.
 */
.ui-helper-hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ui-datepicker {
  position: absolute;
  z-index: 1200 !important;
  display: none;
  width: min(310px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid #d9e5e8;
  border-radius: 16px;
  color: #003f67;
  background: #fff;
  box-shadow: 0 18px 44px rgba(1, 63, 106, .2);
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.35;
}

.ui-datepicker * {
  box-sizing: border-box;
}

.ui-datepicker-inline {
  position: static;
  display: block;
}

.ui-datepicker .ui-datepicker-header {
  position: relative;
  min-height: 42px;
  margin-bottom: 6px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  position: absolute;
  top: 1px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #003f67;
  background: #eef8f7;
  cursor: pointer;
  text-decoration: none;
}

.ui-datepicker .ui-datepicker-prev {
  left: 0;
}

.ui-datepicker .ui-datepicker-next {
  right: 0;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
  color: #fff;
  background: #00a6b7;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  font-size: 0;
  text-indent: 0;
}

.ui-datepicker .ui-datepicker-prev span::after,
.ui-datepicker .ui-datepicker-next span::after {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.ui-datepicker .ui-datepicker-prev span::after {
  content: "\2039";
}

.ui-datepicker .ui-datepicker-next span::after {
  content: "\203A";
}

.ui-datepicker .ui-datepicker-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  margin: 0 44px;
  text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
  width: auto;
  min-width: 0;
  min-height: 38px;
  padding: 6px 28px 6px 9px;
  border: 1px solid #b9cdd2;
  border-radius: 9px;
  color: #003f67;
  background-color: #fff;
  font: inherit;
  font-size: .9rem;
}

.ui-datepicker table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 3px;
  table-layout: fixed;
}

.ui-datepicker th,
.ui-datepicker td {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.ui-datepicker th {
  padding: 5px 0;
  color: #003f67;
  font-size: .82rem;
  font-weight: 900;
}

.ui-datepicker td span,
.ui-datepicker td a {
  display: grid;
  min-height: 36px;
  padding: 4px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #003f67;
  background: transparent;
  text-align: center;
  text-decoration: none;
}

.ui-datepicker td a:hover {
  background: #e7f6f5;
}

.ui-datepicker .ui-datepicker-today a {
  outline: 2px solid #c99a5b;
  outline-offset: -2px;
}

.ui-datepicker .ui-datepicker-current-day a,
.ui-datepicker td a.ui-state-active {
  color: #fff;
  background: #00a6b7;
  font-weight: 900;
}

.ui-datepicker .ui-state-disabled {
  opacity: .38;
}

.ui-datepicker .ui-datepicker-buttonpane {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.ui-datepicker .ui-datepicker-buttonpane button {
  min-height: 38px;
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  color: #003f67;
  background: #c99a5b;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* Thelis préfixe sa copie de jQuery UI avec "thr-ui-". */
#thr-ui-datepicker-div.thr-ui-datepicker {
  position: absolute;
  z-index: 1200 !important;
  display: none;
  width: min(310px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid #d9e5e8;
  border-radius: 16px;
  color: #003f67;
  background: #fff;
  box-shadow: 0 18px 44px rgba(1, 63, 106, .2);
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.35;
}

#thr-ui-datepicker-div *,
.thr-ui-datepicker-inline * {
  box-sizing: border-box;
}

.thr-ui-datepicker-inline {
  position: static;
  display: block;
}

#thr-ui-datepicker-div .thr-ui-datepicker-header,
.thr-ui-datepicker-inline .thr-ui-datepicker-header {
  position: relative;
  min-height: 42px;
  margin-bottom: 6px;
}

#thr-ui-datepicker-div .thr-ui-datepicker-prev,
#thr-ui-datepicker-div .thr-ui-datepicker-next,
.thr-ui-datepicker-inline .thr-ui-datepicker-prev,
.thr-ui-datepicker-inline .thr-ui-datepicker-next {
  position: absolute;
  top: 1px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #003f67;
  background: #eef8f7;
  cursor: pointer;
  text-decoration: none;
}

#thr-ui-datepicker-div .thr-ui-datepicker-prev,
.thr-ui-datepicker-inline .thr-ui-datepicker-prev { left: 0; }

#thr-ui-datepicker-div .thr-ui-datepicker-next,
.thr-ui-datepicker-inline .thr-ui-datepicker-next { right: 0; }

#thr-ui-datepicker-div .thr-ui-datepicker-prev:hover,
#thr-ui-datepicker-div .thr-ui-datepicker-next:hover,
.thr-ui-datepicker-inline .thr-ui-datepicker-prev:hover,
.thr-ui-datepicker-inline .thr-ui-datepicker-next:hover {
  color: #fff;
  background: #00a6b7;
}

#thr-ui-datepicker-div .thr-ui-datepicker-prev span,
#thr-ui-datepicker-div .thr-ui-datepicker-next span,
.thr-ui-datepicker-inline .thr-ui-datepicker-prev span,
.thr-ui-datepicker-inline .thr-ui-datepicker-next span {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  font-size: 0;
  text-indent: 0;
}

#thr-ui-datepicker-div .thr-ui-datepicker-prev span::after,
#thr-ui-datepicker-div .thr-ui-datepicker-next span::after,
.thr-ui-datepicker-inline .thr-ui-datepicker-prev span::after,
.thr-ui-datepicker-inline .thr-ui-datepicker-next span::after {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

#thr-ui-datepicker-div .thr-ui-datepicker-prev span::after,
.thr-ui-datepicker-inline .thr-ui-datepicker-prev span::after { content: "\2039"; }

#thr-ui-datepicker-div .thr-ui-datepicker-next span::after,
.thr-ui-datepicker-inline .thr-ui-datepicker-next span::after { content: "\203A"; }

#thr-ui-datepicker-div .thr-ui-datepicker-title,
.thr-ui-datepicker-inline .thr-ui-datepicker-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  margin: 0 44px;
  text-align: center;
}

#thr-ui-datepicker-div .thr-ui-datepicker-title select,
.thr-ui-datepicker-inline .thr-ui-datepicker-title select {
  width: auto;
  min-width: 0;
  min-height: 38px;
  padding: 6px 28px 6px 9px;
  border: 1px solid #b9cdd2;
  border-radius: 9px;
  color: #003f67;
  background-color: #fff;
  font: inherit;
  font-size: .9rem;
}

#thr-ui-datepicker-div table,
.thr-ui-datepicker-inline table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 3px;
  table-layout: fixed;
}

#thr-ui-datepicker-div th,
#thr-ui-datepicker-div td,
.thr-ui-datepicker-inline th,
.thr-ui-datepicker-inline td {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

#thr-ui-datepicker-div th,
.thr-ui-datepicker-inline th {
  padding: 5px 0;
  color: #003f67;
  font-size: .82rem;
  font-weight: 900;
}

#thr-ui-datepicker-div td span,
#thr-ui-datepicker-div td a,
.thr-ui-datepicker-inline td span,
.thr-ui-datepicker-inline td a {
  display: grid;
  min-height: 36px;
  padding: 4px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #003f67;
  background: transparent;
  text-align: center;
  text-decoration: none;
}

#thr-ui-datepicker-div td a:hover,
.thr-ui-datepicker-inline td a:hover { background: #e7f6f5; }

#thr-ui-datepicker-div .thr-ui-datepicker-today a,
.thr-ui-datepicker-inline .thr-ui-datepicker-today a {
  outline: 2px solid #c99a5b;
  outline-offset: -2px;
}

#thr-ui-datepicker-div .thr-ui-datepicker-current-day a,
#thr-ui-datepicker-div td a.thr-ui-state-active,
.thr-ui-datepicker-inline .thr-ui-datepicker-current-day a,
.thr-ui-datepicker-inline td a.thr-ui-state-active {
  color: #fff;
  background: #00a6b7;
  font-weight: 900;
}

#thr-ui-datepicker-div .thr-ui-state-disabled,
.thr-ui-datepicker-inline .thr-ui-state-disabled { opacity: .38; }

.cve-thelis-embed .thr-months-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  margin: 0 0 16px;
  padding: 0 4px;
  font-weight: 800;
}

.cve-thelis-embed .thr-month {
  cursor: pointer;
}

.cve-thelis-embed .thr-month.last {
  grid-column: 1;
  grid-row: 1;
}

.cve-thelis-embed .thr-month.current {
  grid-column: 2;
  grid-row: 1;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--thr-navy);
  text-align: center;
}

.cve-thelis-embed .thr-month.next {
  grid-column: 3;
  grid-row: 1;
  text-align: right;
}

.cve-thelis-embed .thr-simpleblock-table {
  position: relative;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--thr-line);
  border-radius: 18px;
  background: #fff;
}

.cve-thelis-embed .thr-simpleblock-table table {
  width: 100%;
  min-width: 760px;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.cve-thelis-embed .thr-simpleblock-table th,
.cve-thelis-embed .thr-simpleblock-table td {
  padding: 16px 12px;
  border: 0;
  border-right: 1px solid var(--thr-line);
  border-bottom: 1px solid var(--thr-line);
  text-align: center;
  vertical-align: middle;
}

.cve-thelis-embed .thr-simpleblock-table th:last-child,
.cve-thelis-embed .thr-simpleblock-table td:last-child {
  border-right: 0;
}

.cve-thelis-embed .thr-simpleblock-table thead th {
  color: #fff;
  background: var(--thr-navy);
  font-weight: 800;
}

.cve-thelis-embed .thr-simpleblock-description {
  min-width: 210px;
  background: #f4fbfa;
  cursor: pointer;
  text-align: left !important;
}

.cve-thelis-embed .thr-simpleblock-image-container {
  position: relative;
}

.cve-thelis-embed .thr-simpleblock-image-container img {
  display: block;
  width: 100%;
  height: 120px;
  margin-bottom: 9px;
  border-radius: 12px;
  object-fit: cover;
}

.cve-thelis-embed .thr-simpleblock-category-title {
  display: block;
  font-weight: 800;
}

.cve-thelis-embed .thr-price {
  margin: 7px 0 12px;
  color: var(--thr-navy);
  font-size: 1.1rem;
  font-weight: 900;
}

.cve-thelis-embed .thr-btn,
.cve-thelis-embed button.thr-btn {
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  color: var(--thr-navy);
  background: var(--thr-gold);
  box-shadow: 0 6px 15px rgba(255, 184, 63, .24);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.cve-thelis-embed .thr-btn:hover,
.cve-thelis-embed button.thr-btn:hover {
  color: #fff;
  background: var(--thr-coral);
}

.cve-thelis-embed .labelComplete {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  color: #785c10;
  background: #fff2c9;
  font-weight: 800;
}

.cve-thelis-embed .thr-simpleblock-noresults,
.cve-thelis-embed .thr-simpleblock-dateServiceKO,
.cve-thelis-embed .thr-contre-props-search-date-to-date {
  margin: 16px;
  padding: 16px 18px;
  border-radius: 13px;
  background: #eef8f7;
  text-align: center;
}

.cve-thelis-embed .thr-simpleblock-details > td {
  padding: 24px;
  background: #f8fbfb;
  text-align: left;
}

.cve-thelis-embed .thr-simpleblock-details img,
.cve-thelis-embed .thr-simpleblock-photos img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.cve-thelis-embed .thr-main-criteria,
.cve-thelis-embed .thr-simpleblock-dates-results {
  list-style: none;
  margin: 18px 0;
  padding: 0;
}

.cve-thelis-embed .thr-main-criteria li,
.cve-thelis-embed .thr-criterion {
  display: inline-block;
  margin: 3px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e7f6f5;
}

.cve-thelis-embed .thr-simpleblock-dates-result {
  max-width: 100%;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid var(--thr-line);
  border-radius: 15px;
}

.cve-thelis-embed .thr-simpleblock-dates-result-header {
  padding: 12px 16px;
  color: #fff;
  background: var(--thr-navy);
  font-weight: 800;
  overflow-wrap: anywhere;
  white-space: normal;
}

.cve-thelis-embed .thr-simpleblock-dates-result-content {
  padding: 16px;
}

.cve-thelis-embed .row {
  display: flex;
  flex-wrap: wrap;
}

.cve-thelis-embed .col-xs-3 { width: 25%; }
.cve-thelis-embed .col-xs-4 { width: 33.333%; }
.cve-thelis-embed .col-xs-5 { width: 41.667%; }
.cve-thelis-embed .col-xs-8 { width: 66.667%; }
.cve-thelis-embed .col-xs-9 { width: 75%; }
.cve-thelis-embed .col-xs-12 { width: 100%; }
.cve-thelis-embed .col-xs-offset-2 { margin-left: 16.667%; }
.cve-thelis-embed .text-left { text-align: left; }
.cve-thelis-embed .text-center { text-align: center; }
.cve-thelis-embed .text-right { text-align: right; }
.cve-thelis-embed .pull-right { float: right; }
.cve-thelis-embed .clearfix { clear: both; }

.cve-thelis-embed .thr-loading-simpleblock,
.cve-thelis-embed .thr-simpleblock-waitresults {
  padding: 35px;
  text-align: center;
}

.cve-thelis-embed .thr-loading-icon::after {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 4px solid #cce7e8;
  border-top-color: var(--thr-teal);
  border-radius: 50%;
  content: "";
  animation: cve-thelis-spin .8s linear infinite;
}

@keyframes cve-thelis-spin {
  to { transform: rotate(360deg); }
}

.cve-thelis-fallback[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .cve-thelis-embed .col-sm-3 { width: 25%; }
  .cve-thelis-embed .col-sm-6 { width: 50%; }
}

@media (min-width: 992px) {
  .cve-thelis-embed .col-md-7 { width: 58.333%; }
}

@media (max-width: 720px) {
  .cve-thelis-embed .thr {
    font-size: 14px;
  }

  .cve-thelis-embed .thr-tabs,
  .cve-thelis-embed .thr-simpleblock-filters,
  .cve-thelis-embed .thr-search-date-to-date {
    flex-direction: column;
    align-items: stretch;
  }

  .cve-thelis-embed .thr-tabs li,
  .cve-thelis-embed .thr-simpleblock-filters > div {
    width: 100%;
  }

  .cve-thelis-embed .thr-simpleblock-filters > div {
    flex: 1 1 auto;
    flex-wrap: wrap;
  }

  .cve-thelis-embed select,
  .cve-thelis-embed input[type="date"],
  .cve-thelis-embed input[type="text"] {
    width: 100%;
  }

  .cve-thelis-embed .thr-search-date-to-date {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .cve-thelis-embed .thr-search-date-to-date > * {
    min-width: 0;
    max-width: 100%;
  }

  .ui-datepicker,
  #thr-ui-datepicker-div.thr-ui-datepicker {
    max-width: calc(100vw - 24px);
    padding: 10px;
  }

  .cve-thelis-embed .thr-simpleblock-dates-result-content .row {
    display: block;
  }

  .cve-thelis-embed .thr-simpleblock-dates-result-content [class*="col-"] {
    width: 100%;
    margin-left: 0;
  }

  .cve-thelis-embed .thr-months-container {
    grid-template-columns: 1fr 1fr;
  }

  .cve-thelis-embed .thr-month.current {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .cve-thelis-embed .thr-month.last {
    grid-column: 1;
    grid-row: 2;
  }

  .cve-thelis-embed .thr-month.next {
    grid-column: 2;
    grid-row: 2;
  }

  .cve-thelis-embed .thr-simpleblock-table table {
    min-width: 680px;
  }
}
