/* Extrait de front/equivalences.php. Ne pas remettre ce CSS en <style> inline :
   les .php sont servis en no-store, ce fichier est cache un an. */

.et_calculator_title {
  font-size: 36px;
  text-align: center;
  margin: 30px 0;
  color: #000000;
}
.et_calculator_title span {
  color: #e60000;
}

.et_calculator_box_info_image img {
  width: 100%;
}

.et_calculator_box {
  display: grid;
  grid-template-columns: 415px auto;
  grid-column-gap: 150px;
  margin: 30px auto;
  align-items: center;
  max-width: 1100px;
}
@media (max-width: 1200px) {
  .et_calculator_box {
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
    grid-gap: 50px;
  }
}
.et_calculator_box .et_calculator_box_sizes {
  margin-left: 75px;
  width: 270px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.et_calculator_box .et_calculator_box_sizes .et_calculator_box_size_out,
.et_calculator_box .et_calculator_box_sizes .et_calculator_box_size_in {
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.et_calculator_box .et_calculator_box_sizes .et_calculator_box_size_out img,
.et_calculator_box .et_calculator_box_sizes .et_calculator_box_size_in img {
  width: 15px;
  margin: 0 10px;
}
@media (max-width: 1200px) {
  .et_calculator_box .et_calculator_box_wheel {
    width: 415px;
    justify-self: center;
  }
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down {
  position: relative;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_title,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_title {
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 10px;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_up,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_up {
  top: 50%;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_down,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_down {
  bottom: 50%;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_up,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_down,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_up,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_down {
  color: #ffffff;
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_up .info_wheel_up_in_et,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_up .info_wheel_down_in_et,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_down .info_wheel_up_in_et,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_down .info_wheel_down_in_et,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_up .info_wheel_up_in_et,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_up .info_wheel_down_in_et,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_down .info_wheel_up_in_et,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_down .info_wheel_down_in_et {
  display: flex;
  justify-content: center;
  font-size: 30px;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_up .info_wheel_up_in_et .width,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_up .info_wheel_down_in_et .width,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_down .info_wheel_up_in_et .width,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_down .info_wheel_down_in_et .width,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_up .info_wheel_up_in_et .width,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_up .info_wheel_down_in_et .width,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_down .info_wheel_up_in_et .width,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_down .info_wheel_down_in_et .width {
  margin-right: 10px;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_up .distance,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_down .distance,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_up .distance,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_down .distance {
  visibility: hidden;
  opacity: 0;
  font-size: 20px;
  transition: all 0.3s ease;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_up .distance.active,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .info_wheel_down .distance.active,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_up .distance.active,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .info_wheel_down .distance.active {
  visibility: visible;
  opacity: 1;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical.orgin .left,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical.orgin .left {
  transform-origin: 24px 10px;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical.orgin .right,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical.orgin .right {
  transform-origin: 114px -80px;
}
@media (max-width: 768px) {
  .et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical {
    display: none;
  }
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical .left,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical .right,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical .left,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical .right {
  margin: 0;
  font-size: 22px;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical .left,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical .left {
  transform-origin: 17px 14px;
  transform: rotate(-90deg);
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical .right,
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_photo .et_calculator_box_wheel_up_vertical .right {
  transform-origin: 94px -62px;
  transform: rotate(-90deg);
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_up .et_calculator_box_wheel_title {
  color: #e60000;
}
.et_calculator_box .et_calculator_box_wheel .et_calculator_box_wheel_down .et_calculator_box_wheel_title {
  color: #00AFF0;
}
.et_calculator_box .et_calculator_box_form {
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_title {
  background-color: #e60000;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_title {
  background-color: #00AFF0;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down {
  width: 400px;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_title,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_title {
  font-size: 24px;
  color: #ffffff;
  padding: 12px 20px 10px 20px;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_content,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_content {
  background-color: #ebeaea;
  padding: 10px 20px;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_content .et_calculator_box_form_input,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_content .et_calculator_box_form_input {
  display: grid;
  grid-template-columns: 18% auto 18%;
  grid-column-gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_content .et_calculator_box_form_input:last-child,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_content .et_calculator_box_form_input:last-child {
  margin-bottom: 0;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box {
  display: grid;
  grid-template-columns: 40px auto 40px;
  align-items: stretch;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box input,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box input {
  width: 100%;
  text-align: center;
  font-size: 16px;
  border-radius: 0;
  -moz-appearance: textfield;
  border: 1px solid #000000;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box input::-webkit-inner-spin-button, .et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box input::-webkit-outer-spin-button,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box input::-webkit-inner-spin-button,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box button,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box button {
  color: #ffffff;
  background-color: #000000;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 15px;
}
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_up .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box button img,
.et_calculator_box .et_calculator_box_form .et_calculator_box_form_down .et_calculator_box_form_content .et_calculator_box_form_input .et_calculator_box_form_input_box button img {
  filter: brightness(0) invert(1);
  width: 20px;
}

.et_calculator_box_info {
  text-align: center;
  font-size: 20px;
  margin: 80px 0 40px 0;
}
.et_calculator_box_info .et_calculator_box_info_box {
  margin-bottom: 16px;
}
.et_calculator_box_info .et_calculator_box_info_box p {
  margin: 0;
}

/* =========================================================================
   Mise en page de la page equivalences, calquee sur la landing univers
   /fr/pneus (front/home.php avec ctype=pneus) : bandeau degrade orange,
   carte blanche du selecteur a gauche, contenu en cartes blanches dessous.
   ========================================================================= */

.wrap.eq-hero {
  padding: 120px 40px 44px;
  background: #fff;
}
.eq-hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}
.eq-hero-card {
  background: #fff;
  border-radius: 28px;
  padding: 18px 18px 20px;
}
.eq-hero-card .ui.hidden.divider { margin: 8px 0; }
.eq-hero-card .ui.dropdown {
  height: 68px !important;
  padding-top: 24px !important;
  font-size: 17px !important;
}
.eq-card-titre {
  font-family: var(--font-bold);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #0f172a;
  margin: 2px 2px 18px;
}
.eq-hero-main { order: -1; }
.eq-hero-visu { display: none; }
.eq-hero-say h1 {
  font-family: var(--font-bold);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  color: #0f172a;
  margin: 0 0 12px;
}
.eq-hero-etrto {
  display: inline-block;
  margin: 0 0 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f3f3f5;
  color: #0f172a;
  font-size: .92rem;
}
.eq-hero-etrto strong { font-weight: 600; }
.eq-hero-note {
  margin: 0;
  max-width: 52ch;
  color: #475569;
  font-size: .95rem;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .wrap.eq-hero {
    background: linear-gradient(135deg, rgb(249, 59, 33), rgb(180, 30, 10));
  }
  .eq-hero-grid {
    grid-template-columns: 480px minmax(0, 1fr);
    align-items: stretch;
    gap: 56px;
  }
  .eq-hero-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 28px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  }
  .eq-card-titre { font-size: 1.5rem; margin-bottom: 20px; }
  .eq-hero-main { order: 0; }
  .eq-hero-visu { display: block; margin-top: 26px; }
  .eq-hero-say h1 {
    font-size: 3.4rem;
    color: #fff;
  }
  .eq-hero-etrto {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 1rem;
  }
  .eq-hero-note { color: rgba(255, 255, 255, .92); }
  .eq-hero-img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0;
  }
}

/* Au-dessus de 1024px le theme ne reserve plus 120px pour le header fixe :
   on revient a la marge du modele /fr/pneus. */
@media (min-width: 1024px) {
  .wrap.eq-hero { padding: 80px 40px 60px; }
}

/* ---- Corps de page ---- */

.wrap.eq-body {
  padding: 30px 40px 60px;
  background: #f5f5f7;
}
.eq-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.eq-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  padding: 24px 26px;
}
.eq-titre,
.eq-group-title {
  font-family: var(--font-bold);
  font-weight: 400;
  color: #0f172a;
  margin: 0 0 14px;
}
.eq-titre { font-size: 1.45rem; }
.eq-group-title { font-size: 1.25rem; }
.eq-card p {
  color: #475569;
  line-height: 1.65;
  max-width: 78ch;
}
.eq-card p:last-of-type { margin-bottom: 0; }
.eq-vide { color: #64748b; margin: 0; }
.eq-nd { color: #94a3b8; }

.eq-avert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff8e5;
  border: 1px solid #f3e2b3;
  color: #8a5a00;
  font-size: .9rem;
  line-height: 1.5;
}
.eq-avert i.icon { margin: 2px 0 0; flex: 0 0 auto; }

/* ---- Tableaux ---- */

.eq-scroll { overflow-x: auto; }
.eq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.eq-table th,
.eq-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, .07);
}
.eq-table thead th {
  font-weight: 600;
  font-size: .8rem;
  color: #64748b;
  white-space: nowrap;
  border-bottom: 1px solid rgba(15, 23, 42, .14);
}
.eq-table tbody tr:last-child th,
.eq-table tbody tr:last-child td { border-bottom: 0; }
.eq-table tbody th {
  font-weight: 400;
  color: #0f172a;
}
.eq-table-jantes tbody th {
  font-family: var(--font-bold);
  white-space: nowrap;
}
.eq-table td { color: #334155; font-variant-numeric: tabular-nums; }

.eq-dim {
  font-family: var(--font-bold);
  font-size: 1.05rem;
  white-space: nowrap;
}
.eq-ref { background: #fffaf9; }
.eq-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-primary);
  font-size: .7rem;
  vertical-align: middle;
}

.eq-pill {
  display: inline-block;
  min-width: 84px;
  padding: 5px 10px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
.eq-ok     { background: #e8f8ee; color: #0a7c35; }
.eq-limite { background: #fff4d6; color: #8a5a00; }
.eq-ko     { background: #fdeaec; color: #b4141f; }

.eq-buy { white-space: nowrap; }
.eq-buy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 6px 2px 0;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .1);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}
.eq-buy-link i.icon { margin: 0; }
.eq-buy-ete   { background: #fff8e5; color: #8a5a00; }
.eq-buy-hiver { background: #eaf6fd; color: #0b5f8a; }
.eq-buy-link:hover { border-color: rgba(15, 23, 42, .24); }

@media (max-width: 820px) {
  .eq-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .eq-table,
  .eq-table tbody,
  .eq-table tr,
  .eq-table th,
  .eq-table td { display: block; }
  .eq-table tr {
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  .eq-table tbody tr:last-child { margin-bottom: 0; }
  .eq-table th,
  .eq-table td {
    border: 0;
    padding: 5px 0;
  }
  .eq-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .eq-table td::before {
    content: attr(data-label);
    color: #64748b;
    font-size: .82rem;
    font-weight: 400;
  }
  .eq-buy { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .wrap.eq-hero { padding: 120px 16px 34px; }
  .wrap.eq-body { padding: 20px 16px 44px; }
  .eq-hero-card { padding: 0; }
  .eq-card-titre { margin-bottom: 12px; }
  .eq-card { padding: 20px 18px; }
}

/* Boutons +/- du calculateur d'ET : icones Font Awesome a la place des
   anciennes images images/gfx/*.png, qui n'existent plus. */
.et_calculator_box .et_calculator_box_form_input_box button i.icon {
  margin: 0 !important;
  font-size: 16px;
  line-height: 1;
}
