/* 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, 2026-10-16 — oftalmologojsifreg.com
   ------------------------------------------------------------------------------------------ */

/* The theme declares `body { font-family: Poppins }` with NO fallback, and Poppins is not on
   disk and was never loaded from anywhere: the only webfont link this site had pointed at
   css-fonts.eu.extra-cdn.com, which a restored site must not call, and it served Roboto for the
   consent bar, not Poppins. With an unresolvable single family the browser falls back to its
   default serif, so every page rendered in Times. Name a real stack after it. */
body,
body .bodytext,
body .footertext,
body .smalltext,
body .lightbodytext {
  font-family: Poppins, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Not one photograph of this site is in the archive (_recon/missing_*.json), the logo included.
   The brand image in the header and the footer was a lazyload placeholder — a 1x1 transparent GIF
   stretched to 502x83 — so both read as an invisible box. They now carry the clinic's own name,
   which the page already publishes in its <title>, its og:site_name and its first paragraph. */
.restored-wordmark {
  display: inline-block;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
  color: #003838;
  text-decoration: none;
  max-width: 100%;
}
.restored-wordmark:hover,
.restored-wordmark:focus {
  color: #00a6ad;
  text-decoration: none;
}
footer .restored-wordmark {
  font-size: 18px;
}
@media only screen and (max-width: 767px) {
  .restored-wordmark { font-size: 19px; }
  footer .restored-wordmark { font-size: 17px; }
}

/* The contact form shipped every field `disabled` (the CMS enabled them from a script that is
   gone), so a visitor could not type one character. With the fields live again, give them the
   visible box the theme drew with its own JS-set classes, and make the submit reach 44px. */
.module.form input[type="text"],
.module.form input[type="email"],
.module.form input[type="tel"],
.module.form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b7c7c7;
  border-radius: 4px;
  background: #fff;
  color: #003838;
  font: inherit;
}
.module.form textarea { min-height: 140px; }
.module.form input[type="submit"] {
  min-height: 44px;
  padding: 10px 28px;
  border: 0;
  border-radius: 4px;
  background: #00a6ad;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.module.form input[type="submit"]:hover { background: #003838; }
/* TWO CHECKBOXES IN A ROW, and the second one was mine.
   The theme draws its own box with `.form input[type=checkbox]+label:before` (a 1.8em square that
   fills with a FontAwesome tick when the input is :checked), so the NATIVE control must not be
   drawn as well - a first pass here gave it a size and the screenshot came back with two squares
   per consent line. The native input stays exactly where it was and keeps taking the click; it is
   simply not painted, and the label the theme paints is what the visitor sees and can also click
   through `for=`. */
.module.form .form_option { position: relative; margin-bottom: 10px; }
.module.form .form_option input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.8em;
  height: 1.8em;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

/* THE BURGER THAT COULD NEVER OPEN.
   At <=767px the theme parks the menu off-screen - `nav > ul { position:fixed; left:100%; top:0;
   width:100%; height:100% }` because this nav's data-settings say direction=right - and draws a
   burger with `nav:before`, a FontAwesome glyph. Both the opening and the closing are done by the
   Mono loader's `nav` module, which the loader fetched from site-assets.cdnmns.com: a third-party
   CDN a restored site must not call, and the reason the loader was removed. So on a phone this
   site had a burger that did nothing and three menu items a visitor could never reach.
   There is no markup here to hang a checkbox or :target trick on, and with only three visible
   entries a phone does not need a drawer: the list is brought back on to the page as a plain
   stacked menu, and the controls that would have driven the drawer are taken away so nothing
   invites a press that cannot answer. */
@media only screen and (max-width: 1199px) {
  /* `content: none`, not just `display: none`. The burger is `nav:before`, and a pseudo-element
     that is hidden still HAS its content: qa_visitor_paths reads the computed `content` of every
     ::before whose owning element is visible, so hiding it left one FontAwesome box per page at
     390px on the three pages whose FontAwesome face never loaded. Taking the content away is what
     actually removes the glyph. */
  nav.module.nav:before,
  nav.module.nav > ul .closeBtn:before { content: none !important; }
  nav.module.nav:before,
  nav.module.nav > ul .closeBtn { display: none !important; }

  nav.module.nav > ul.navContainer {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 4px 0 0 !important;
    overflow: visible !important;
    z-index: auto !important;
  }
  nav.module.nav > ul.navContainer > li { display: block; }
  nav.module.nav > ul.navContainer > li > a {
    display: block;
    min-height: 44px;
    line-height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #d6e2e2;
    text-align: left !important;
  }
  nav.module.nav > ul.navContainer > li:last-child > a { border-bottom: 0; }
}

/* Between 768px and 1199px the same drawer applies, but a three-item menu reads better across the
   row than stacked down it, so the list is laid out inline there and stacked only on a phone. */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  nav.module.nav > ul.navContainer { text-align: right; }
  nav.module.nav > ul.navContainer > li { display: inline-block; }
  nav.module.nav > ul.navContainer > li > a {
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
    margin: 0 0 0 24px !important;
    padding: 0 !important;
    border-bottom: 0;
  }
}

/* THE ICON GLYPHS WERE TOFU BOXES ON EVERY PAGE.
   The header and footer carry five `<span class="iconfont">` each, holding FontAwesome private-use
   codepoints (U+F0E0 envelope, U+F095 telephone, U+F124 location). `.iconfont` has no rule in any
   stylesheet this site ships, so those characters were drawn in the body font and rendered as
   empty rectangles - qa_visitor_paths measured them on six of seven pages. The font file is on
   disk and already served; this names it, and declares the face itself so the result does not
   depend on which of the five external-libs variants a given page happens to link. */
@font-face {
  font-family: "FARestore";
  font-display: block;
  font-weight: normal;
  font-style: normal;
  src: url("/fonts/fontawesome-webfont-c6836608.woff2") format("woff2"),
       url("/fonts/fontawesome-webfont-fbc012e9.woff") format("woff"),
       url("/fonts/fontawesome-webfont-7351094d.ttf") format("truetype");
}
.iconfont {
  font-family: "FARestore", "FontAwesome";
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

/* CONTRAST, measured by qa_legibility and recomputed here against white.
   The theme's link blue #0089e0 is 3.71:1 on the white row and normal body text needs 4.5, so the
   header telephone, the footer e-mail and every in-text link were under AA. #0077c2 is 4.75:1 and
   is the same blue a shade down. The headline teal #00a6ad is 2.98:1 and large text needs 3, i.e.
   it missed by two hundredths; #00878d is 4.33:1. Only the TEXT colours move - the brand teal
   still paints the rows, the rules and the buttons. */
.bodytext a,
.footertext a,
.smalltext a,
.form .optins span > a.optinLink { color: #0077c2; }
.headline { color: #00878d; }

/* NOT the top strip. `#r3894` is painted #005555 and its text is white by design, so giving its
   links the same blue as the body took them from 3.71:1 to 1.82:1 — the first measurement after
   that change is what caught it. On that strip the readable colour is the white the theme already
   uses for the text beside them (8.4:1). */
.lightbodytext a,
.lightbodytext a:hover { color: #ffffff; }

/* White on #00a6ad is 2.98:1; the submit button is a control and its label has to be read. */
.module.form input[type="submit"] { background: #00757a; }
.module.form input[type="submit"]:hover { background: #003838; }

/* The wordmark that replaced the never-archived logo was a 23px-high line box - under the 24px
   floor for something a finger has to hit. It is the site's home link, so it gets a real target. */
.restored-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* A DROPDOWN CARET ON A MENU WITH NO DROPDOWNS.
   `nav ul li a:after` puts U+F107 (fa-angle-down) after EVERY menu link, in font "FontAwesome".
   This menu has three flat items and no submenu at all, so the caret promises something that can
   never open - and on the four pages whose FontAwesome face never finished loading it was drawn
   as an empty rectangle instead (qa_visitor_paths measured 3 boxes at 1440 and 1 at 390 on
   /aviso-legal/, /gracias/ and /politica-de-privacidad/). Taking the pseudo-element away removes
   both the false affordance and the boxes, and it is the same answer at every width. */
nav.module.nav ul li a:after,
nav.module.nav ul li a:before { content: none !important; }

/* The current page's menu entry is #00f5ff — 1.35:1 on the white header row, which qa_legibility
   reads as invisible text. Below 1200px the theme repeats the same cyan. #00878d is 4.33:1 and is
   the teal the rest of the chrome already uses. */
nav.module.nav > ul li.active > a,
nav.module.nav > ul li.active > a:hover { color: #00818a; }

/* "Volver a Inicio" is white on #00f5ff: 1.35:1, a button whose label cannot be read. The cyan is
   the theme's own and is kept; the label goes dark, which is 9.8:1 on it. */
.module.button,
.module.button .buttonLabel { color: #003838 !important; }
.module.button:hover,
.module.button:hover .buttonLabel { color: #003838 !important; }

/* The consent checkbox's link sits in a <label>, not in the <span> the theme's rule names, so it
   was never given a colour and inherited white on white (1.23:1). It is also the only thing in
   the form a finger has to hit that measured under 24px. */
.module.form .optins a.optinLink {
  color: #0077c2;
  display: inline-block;
  min-height: 24px;
  line-height: 1.7;
}
.module.form .optins label { line-height: 1.7; }

/* The cookie policy prints five help URLs as their own link TEXT
   ("https://support.mozilla.org/es/kb/Deshabilitar%20cookies%20de%20terceros"), and an unbroken
   string that long makes the page 423px wide inside a 390px screen — the whole page then pans
   sideways, which reads as broken. The words are the clinic's own and are untouched; only the
   wrapping changes. */
/* ROUND 2: `word-break: break-word` on every paragraph is the same as overflow-wrap:anywhere - it
   lets a table column's minimum width collapse to one letter, so the cookie table's first and last
   columns were shredded mid-word ("Googl/e/Analyt/ics", at 390 "Go/og/le/An/al/yti/cs"). Ordinary
   text now only wraps at a word boundary and breaks a word only when it cannot fit at all
   (overflow-wrap: break-word does not shrink min-content); only LINKS may break anywhere, and they
   are the only unbroken strings the page has. Governs .module.text, .bodytext and .footertext. */
.module.text,
.module.text p,
.module.text li,
.bodytext,
.footertext { overflow-wrap: break-word; word-break: normal; hyphens: manual; }
.module.text a, .footertext a { overflow-wrap: anywhere; }
.module.text table th, .module.text table td,
.module.text table th p, .module.text table td p { word-break: normal; overflow-wrap: normal; }
.module.text table td a { overflow-wrap: anywhere; }
.module.text table { width: 100%; }
.module.text table td:first-child, .module.text table th:first-child,
.module.text table td:last-child, .module.text table th:last-child { min-width: 140px; }
@media (max-width: 768px) {
  .module.text table td:first-child, .module.text table th:first-child,
  .module.text table td:last-child, .module.text table th:last-child { min-width: 0; }
  .module.text table td, .module.text table th,
  .module.text table thead th, .module.text table thead td {
    padding: 6px 8px !important;
  }
}

/* The contact block's icons sit in `<ul class="module iconlist">`, and the list markers were being
   drawn as small cyan dots beside every icon on the home and contact pages. */
ul.module.iconlist { list-style: none; margin: 0; padding: 0; }
ul.module.iconlist > li { list-style: none; }

/* 404 links: the theme's #0089e0/cyan link colour is ~1.5-3:1 on the pale band and this page's only
   way out is those two links. Dark teal + underline, same family as the nav. */
.notfound a, .notfound .bodytext a { color: #05505a; text-decoration: underline; font-weight: 700; }
.notfound a:hover, .notfound .bodytext a:hover { color: #000; }

/* THE "UBICACION" BAND ON THE HOME (o7 fixer round 2)
   Two defects in one row (#r1693). (1) The builder gave the middle two columns col-md-3 AND
   col-lg-6, so at 1440 they were 50% wide against 25% for the outer two: unequal, a short first
   row, a second row not under the first. (2) .iconlist is text-align:left with a 50px <li>, while
   the heading and value under it are centred, so every icon floated free of its label. The four
   cells become equal quarters from 768px up (one per line below), each icon centred over its text.
   Governs only the cells and icon lists inside #r1693, the "Ubicacion" row; no other row. */
#r1693 .col { padding-left: 10px; padding-right: 10px; }
@media only screen and (min-width: 768px) {
  #r1693 .col-md-3 { width: 25%; }
}
#r1693 ul.module.iconlist { display: flex; justify-content: center; text-align: center; }
#r1693 ul.module.iconlist > li { width: auto; height: auto; text-align: center; }
@media only screen and (max-width: 767px) {
  #r1693 .col { width: 100%; margin-bottom: 14px; }
}


/* A BARE URL AS ANCHOR TEXT CANNOT BREAK, AND JUSTIFIED TEXT PAYS FOR IT (owner, 2026-10-18).
   The client's anchor on this site IS a url, and the anchor text is not ours to change. An
   unbreakable 30-40 character token in justified body copy stretches the PRECEDING line into
   word-gaps (reported at 390: a wide gap opens before the link), and in a narrow card it runs past the right edge instead
   of wrapping. Letting the url break inside the block fixes both and changes no text: the link
   still reads as the same address, just over two lines. Scoped to the block so the rest of the
   page keeps the theme's own wrapping. */
.content-wraparea a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
