/* restore extras — generated by restore_04_polish.py */

/* Consent overlays: the restore ships no analytics or third-party tracking at all, so there
   is nothing to consent to. Their scripts are gone too, meaning the banner can never be
   dismissed and would cover the top of every page. Removing the markup is unreliable when a
   JS bundle re-renders it, so it is hidden here as well. */
.cookies-banner, .cookies-banner-content, .cookie-banner, .cookie-consent, .cookie-notice,
.cc-window, .cc-banner, #cookie-law-info-bar, #cookieChoiceInfo, .gdpr-banner,
#tarteaucitronRoot, .consent-overlay, .cookiebar {
  display: none !important;
}
body.cookie-banner-open, body.has-cookie-banner, html.cookies-open {
  overflow: auto !important;
}

/* Dead account/login modals left by the CMS (no backend on a static host) */
.modal-login, #loginModal, .login-modal { display: none !important; }

/* Carousel slots the platform's JS bundles would have filled at runtime: without a working
   bundle they stay as <img> elements with no src and render as broken-image icons. Nothing is
   lost by hiding them — they never had content in the restore. */
img:not([src]), img[src=""], img[src="#"] { display: none !important; }

/* The client's backlink block must read as the page's own copy. Where a theme only colours
   links inside specific containers, the anchor would otherwise look like plain text — inherit
   the surrounding colour but keep an underline so it is still visibly a link. */
.content-wraparea a { color: inherit; text-decoration: underline; }

/* A few px of horizontal overflow on phones (an absolutely-positioned login list, a wide footer
   logo) makes the whole page pannable sideways, which reads as broken.
   NB: use `clip`, never `hidden`, and never on html together with height:100%. `overflow:hidden`
   turns the element into a scroll container: on themes that set html{height:100%} it stops body's
   overflow propagating to the viewport, the window stops scrolling entirely and every
   scroll-driven behaviour (sticky nav, back-to-top, in-page anchors, PageDown/End) dies.
   `clip` suppresses the sideways pan without creating a scroll container. */
body { overflow-x: clip; }
/* ---- end generated block; anything below is preserved across re-runs ---- */

/* ---- order-7 fixer: clinicakarma.es, AA contrast and tap targets ---- */

/* CONTRAST. qa_legibility measured two of this theme's own tokens below AA for normal text, and
   the numbers match the stylesheet exactly: the body grey #8d8f92 is 3.24:1 on white and the
   brand blue #0098cc is 3.30:1. Both are darkened just past 4.5:1 with the hue kept, rather than
   replaced - #696b6f is 4.89:1 and #00759e is 5.20:1. These rules are written with the SAME
   selectors the theme uses and restore-extras.css is linked last, so they win on equal
   specificity and lose to anything more specific: the footer's white-on-#575756 links
   (.pie_bottom .container a) and the blue menu_cab keep their own colours untouched. */
body, p { color: #696b6f; }
a { color: #00759e; }
p strong, ul li strong { color: #00759e; }
.breadcrumb a { color: #00759e; }
.div_barra_menu .menu > li > a { color: #00759e; }
.div_barra_menu .menu > li > a.active { color: #005b7c; }
.div_barra_menu .botones > li > a { color: #00759e; }

/* The top bar prints white 14px text on the same #0098cc - also 3.30:1 - and white cannot get
   lighter, so the band darkens instead. Same hue, one step down; white on #00759e is 5.20:1. */
.div_barra_superior { background-color: #00759e; }

/* TAP TARGETS. The e-mail and telephone links in the top bar and the links in the footer are
   18-20px tall, under the 24px minimum. Only the hit area grows - inline-flex keeps them on
   their own line exactly where they were, and no box moves. */
.div_barra_superior div.contacto a,
.pie_pagina .contacto > ul > li > a,
.pie_bottom .container a,
.pie_bottom .container > div > a { min-height: 24px; display: inline-flex; align-items: center; }

/* The dropdown menus under "Como Trabajamos" and "Blog" are a vertical list, so their links are
   given the height as blocks rather than inline-flex, which would shrink them to their text. */
.dropit-submenu ul li a { display: block; min-height: 24px; line-height: 24px; }

/* ---- order-7 fixer: clinicakarma.es colour tokens ---- */
/* generated from css/style-690006c4.css; see gen_karma_tokens.py for why */
body { color:#696b6f }
p { color:#696b6f }
p strong,ul li strong { color:#00759e }
a { color:#00759e }
.breadcrumb a { color:#00759e }
.go-top { color:#00759e; border:3px solid #00759e }
.owl-carousel .item span.titulo { color:#00759e }
@media (max-width:630px) {
  .owl-carousel .item span.titulo { color:#00759e }
}
@media (max-width:630px) {
  .owl-carousel .item span.titulo { color:#00759e }
}
.tabs > .tab_button ul li a { color:#696b6f }
.tabs > .tab_button ul li.active a.default { color:#00759e }
button,.ui.button,.ui.input > .button { color:#00759e; border:1px solid #00759e }
button:hover,.ui.button:hover,.ui.input > .button:hover { background-color:#00759e }
.relacionados_tienda > .tabs > .tab_button ul li a { color:#696b6f }
.div_barra_menu .menu > li > a { color:#00759e }
.div_barra_menu .botones > li > a { color:#00759e }
.dropit_buscador { background-color:#00759e }
.div_barra_menu .menu .menu_cab { background-color:#00759e }
.div_barra_menu .bt_menu { color:#00759e }
.div_barra_superior { background-color:#00759e }
@media (max-width:920px) {
  .div_barra_superior { background-color:#00759e }
}
@media (max-width:640px) {
  .div_barra_superior { background-color:#00759e }
}
.BOOK_PL_01 .pagina > .titulo { color:#00759e }
.BOOK_PL_01 .menu > ul > li > a:hover { background-color:#00759e }
.BOOK_PL_01 .menu > ul > li > a:focus { background-color:#00759e }
.BOOK_PL_02 h1.titulo { color:#00759e }
.BOOK_PL_02 .listado > .panel_pagina.open > .titulo { color:#00759e }
.BOOK_PL_02 .listado > .panel_pagina > .titulo:hover { color:#00759e }
.BOOK_PL_BLOG .tags > .tag { color:#00759e; border:1px dotted #00759e }
.BOOK_PL_BLOG .tags > .tag:hover { background-color:#00759e }
.BOOK_PL_BLOG .ficha > .titulo { color:#00759e }
.BOOK_PL_BLOG .ficha > .tema:before { color:#696b6f }
.BOOK_PL_BLOG .ficha > .texto blockquote p { color:#00759e }
.BOOK_PL_BLOG .ficha > .autor { color:#696b6f }
.BOOK_PL_BLOG .ficha .fecha { color:#696b6f }
.BOOK_PL_BLOG .ficha > .comentarios_total:before { color:#696b6f }
.BOOK_PL_BLOG .lista_paginas .lista .tema { color:#696b6f }
.BOOK_PL_BLOG .lista_paginas .lista .autor { color:#696b6f }
.BOOK_PL_BLOG .lista_paginas .lista .fecha { background:#00759e }
.BOOK_PL_BLOG .lista_paginas .lista .comentarios_total:before { color:#696b6f }
.BOOK_PL_CONTACTO .formulario_contacto > .info > .titulo { color:#00759e }
.BOOK_PL_CONTACTO .formulario_contacto > .info > .texto p strong { color:#00759e }
.BOOK_PL_CONTACTO .formulario_contacto > .info > .contenido > ul > li:nth-child(1) i { color:#00759e }
.BOOK_PL_CONTACTO .formulario_contacto > .info > .contenido > ul > li:nth-child(2) i { color:#00759e }
.BOOK_PL_CONTACTO .formulario_contacto > .info > .contenido > ul > li:nth-child(3) i { color:#00759e }
.BOOK_PL_CONTACTO .formulario_contacto > .info > .contenido > ul > li:nth-child(4) i { color:#00759e }
.BOOK_PL_CONTACTO .formulario_contacto > .formulario > .titulo { color:#00759e }
.BOOK_PL_DEFAULT .ficha > .titulo { color:#00759e }
.BOOK_PL_DEFAULT .ficha .tema:before { color:#696b6f }
.BOOK_PL_DEFAULT .ficha .autor { color:#696b6f }
.BOOK_PL_DEFAULT .ficha .fecha { color:#696b6f }
.BOOK_PL_DEFAULT .ficha .comentarios_total:before { color:#696b6f }
.BOOK_PL_DEFAULT .paginas_lista .pagina { border:1px dotted #00759e }
.BOOK_PL_DEFAULT .paginas_lista .pagina > .autor { color:#696b6f }
.BOOK_PL_DEFAULT .paginas_lista .pagina > .fecha { color:#696b6f }
.BOOK_PL_DEFAULT .paginas_lista .pagina > .comentarios_total:before { color:#696b6f }
.BOOK_PL_MEDICINA .ficha > .titulo { color:#00759e }
.BOOK_PL_MEDICINA .ficha > .tema:before { color:#696b6f }
.BOOK_PL_MEDICINA .ficha > .autor { color:#696b6f }
.BOOK_PL_MEDICINA .ficha .fecha { color:#696b6f }
.BOOK_PL_MEDICINA .ficha > .comentarios_total:before { color:#696b6f }
.BOOK_PL_MEDICINA .paginas_lista .pagina > .imagen img { border:5px solid #00759e }
.BOOK_PL_MEDICINA .paginas_lista .pagina > .autor { color:#696b6f }
.BOOK_PL_MEDICINA .paginas_lista .pagina > .fecha { color:#696b6f }
.BOOK_PL_MEDICINA .paginas_lista .pagina > .comentarios_total:before { color:#696b6f }
.div_buscador > .container > .titulo { color:#00759e }
.div_buscador > .container > .tabs_buscador .tabs > .tab_button ul li.active a span.titulo { color:#00759e }
.div_buscador > .container > .tabs_buscador .tabs > .tab_button ul li.active a { color:#00759e }
.error404 .mensaje > .tipo_error { color:#00759e }
.PL_INICIO .div_enlaces .titulo { color:#00759e }
.PL_INICIO .div_enlaces .titulo:before { color:#00759e }
@media (max-width:480px) {
  .PL_INICIO .div_enlaces .titulo:before { color:#00759e }
}
.PL_INICIO .div_empresa .container .titulo { color:#00759e }
.PL_INICIO .div_empresa .container .texto p strong,.PL_INICIO .div_empresa .container .texto p b { color:#00759e }
@media (max-width:640px) {
  .PL_INICIO .div_empresa .container .titulo { color:#00759e }
}
.PL_INICIO .div_pag_horizontal { background-color:#00759e }
.PL_INICIO .div_pag_horizontal .container .texto a:hover { color:#00759e }
@media (max-width:680px) {
  .PL_INICIO .div_pag_horizontal .container { background-color:#00759e }
}
.PL_INICIO .contacto_form { background-color:#00759e }
.PL_INICIO .contacto_form form input { background:#00759e }
.PL_INICIO .contacto_form form textarea { background:#00759e }
.PL_INICIO .contacto_form form button { color:#00759e }
.carrito_resumen > .desglose_precios > .aviso_impuesto { color:#696b6f }
.carrito_progreso .progreso > ul > li > a { color:#696b6f }
.forma_de_pago > .div_forma_pago .form_comprar > div > .item.disabled > .texto { color:#696b6f }

/* The footer's own links are rgba(251,251,251,.66) on #575756 - 4.11:1. Full white is 6.0:1.
   The footer text colour itself is left alone: it is already white. */
.pie_pagina a { color: #ffffff; }
.pie_bottom .container a { color: #ffffff; }

/* ---- order-7 fixer: clinicakarma.es, the blue panel and the remaining tap targets ---- */

/* The homepage's "Solicita tu Cita" panel is a blue band. Its LOPD paragraph, its checkbox labels
   and its links inherited the page's body grey, which qa_legibility measured at 1.48:1 - the
   worst reading on the site, and invisible in practice. On a blue band the text has to be white
   (5.20:1 against #00759e); the two links keep an underline so they are still visibly links. */
.contacto_form p,
.contacto_form .div_checkbox label,
.contacto_form .div_checkbox_sin label { color: #ffffff; }
.contacto_form .div_checkbox label > a,
.contacto_form .div_checkbox_sin label > a,
.contacto_form p > a { color: #ffffff; text-decoration: underline; }

/* TAP TARGETS still under 24px after the first pass, each named by qa_legibility:
   - the logo is wrapped in an inline <a>, so the anchor's box is one line-height tall (242x20)
     while the image overflows it; making the anchor inline-block gives it the image's own box;
   - the blog listing's section link ("Noticias", 48x15) and its tags;
   - the section cards' titles on /como-trabajamos/ ("Medicina" 76x19, "Fisioterapia" 98x19).
   Only the hit area grows: inline-flex keeps each link exactly where it sits. */
.div_barra_superior div.logo > a { display: inline-block; }
.lista_paginas .lista .tema a,
.BOOK_PL_BLOG .tags > .tag,
.temas_lista .lista .info > .titulo > a,
.paginas_lista .pagina > .titulo > a,
.lista_paginas .lista .titulo > a { display: inline-flex; align-items: center; min-height: 24px; }

/* ---- order-7 fixer: clinicakarma.es, horizontal overflow on /contacto/ at phone width ---- */

/* MEASURED, not guessed: at 390px the contact page's submit button is 910px wide and its centre
   is off screen, which is why qa_form_endtoend reported "the submit button cannot be brought on
   screen" at phone while the same form drove end to end at desktop. The 910px comes from the
   opening-hours strip above it - `.formulario_contacto > .info > .texto` is a nowrap flex row of
   three paragraphs each `min-width:300px`, so the column cannot be narrower than 900px and the
   whole page is dragged out with it. Letting that row wrap below the desktop breakpoint fixes the
   page width, and with it the button. */
@media (max-width: 955px) {
  .formulario_contacto > .info > .texto { flex-wrap: wrap; }
  .formulario_contacto > .info > .texto p { min-width: 0; border-right: 0; }
}

/* The two LOPD consent checkboxes are invisible. The theme hides the native input off-screen
   (`.css-checkbox{position:absolute;left:-1000px;clip:rect(0 0 0 0)}`) and draws the box as a
   sprite on the label's background-image - and that sprite is one of the files the archive never
   kept, so the restore replaced it with a 1x1 transparent GIF. The result on screen is two lines
   of consent text with nothing to tick and no way to see whether you have. Showing the browser's
   own checkbox is the honest repair: visible, operable, keyboard-reachable. */
.div_checkbox, .div_checkbox_sin { display: flex; align-items: flex-start; }
input[type=checkbox].css-checkbox {
  position: static;
  clip: auto;
  overflow: visible;
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  min-width: 0 !important;
  max-width: 18px !important;
  margin: 5px 10px 0 0 !important;
  padding: 0;
  left: auto;
  z-index: auto;
  background: #fff;
}
input[type=checkbox].css-checkbox + label.css-label {
  padding-left: 0;
  background-image: none;
  height: auto;
  line-height: 1.5;
}

/* ===== ORDER 7 FIX ROUND (2026-10-17) ===================================================== */

/* THE 404. It is the plain article shell (BOOK_PL_DEFAULT), whose text box justifies its lines:
   a three-word heading and a two-line message become words spread edge to edge. The message is
   short and is centred instead. */
.BOOK_PL_DEFAULT .ficha.p404 .texto { text-align: center; }
.BOOK_PL_DEFAULT .ficha.p404 > h1.titulo { font-family: inherit; }

/* BLOG POSTS AT PHONE WIDTH. The category label ("> Nos avalan", "> Eventos") is the first thing
   in the post and printed up under the logo bar, on top of the header, and the author line hung
   20px to the left of the text column it belongs to. The label is the same breadcrumb the
   article template (BOOK_PL_DEFAULT) already hides; the author line takes the text column's own
   30px inset. */
@media (max-width: 480px) {
  .BOOK_PL_BLOG .ficha > .tema { display: none; }
  .BOOK_PL_BLOG .ficha > .autor { padding: 0 30px; }
}

/* ===== ORDER 7 FIX ROUND 3 (2026-10-17) - clinicakarma.es =================================== */

/* THE HEADER NEVER HAS A FROZEN HEIGHT. The theme's sticky-header plugin set an inline height
   measured at DOM-ready; js/bitmagest-fe606486.js no longer runs it (see the comment there), and this
   rule makes sure no inline height can ever shorten the header again. Governs only .div_web_cabecera. */
.div_web_cabecera { height: auto !important; }

/* BLOG LISTING: the date chip was absolutely placed at right:-30px;top:20px of each card, which is
   where the first line of the title is, so it hid the end of that line on all 20 cards at both widths.
   The chip now takes its own row in the card's column (static, left aligned, below the title like the
   author line). Governs only the .fecha inside .BOOK_PL_BLOG .lista_paginas .lista. */
.BOOK_PL_BLOG .lista_paginas .lista .fecha {
  position: static;
  align-self: flex-start;
  margin: 0 30px 10px;
}

/* ETIQUETAS: in the sidebar the tags are bare <span>s (the archive kept no link on them) and ran
   together as solid words. Spans and the link-tags alike are drawn as the same boxed chips. Governs
   .BOOK_PL_BLOG .tags only; the per-post tag lists inside the cards are display:none already. */
.BOOK_PL_BLOG .tags > span,
.BOOK_PL_BLOG .tags > a.tag {
  display: inline-block;
  border-radius: 4px;
  background-color: #fff;
  padding: 3px 10px;
  margin: 0 7px 7px 0;
  color: #00759e;
  font-size: 14px;
  line-height: 17px;
  border: 1px dotted #00759e;
}
.BOOK_PL_BLOG .tags > a.tag > span { display: inline; }
