/* 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 ---- */

/* ============================================================================================
   o7 FIXER 2026-10-17 - everything below is styling from OUTSIDE; the client's
   .content-wraparea markup is untouched.

   (1) THE CLIENT'S BLOCK IN THE GREEN BAND. The block sits inside the 4th column of the dark
   green row #r2227 and inherited the theme's .bodytext colour (dark grey) - near invisible on
   green, and it made that one column ~600px taller than its three neighbours. White text, and
   at desktop the block is lifted out of the column and laid across the full width of the band
   BELOW the four columns (the row is already position:relative; the 4th .col is made static
   so the block is positioned against the row), with the room it needs reserved as padding.
   ============================================================================================ */
.content-wraparea, .content-wraparea p, .content-wraparea p.bodytext { color: #ffffff; }
.content-wraparea { text-align: center; margin-top: 18px; }
@media (min-width: 768px) {
  /* ROUND 3: the previous rule (absolute, bottom:24px, reserve via '#r2227 {padding-bottom:290px}') never
     reserved anything - the theme's '#p9533 #r2227 {padding-bottom:80px}' has two ids and out-ranks it - so the
     block was drawn over the four columns. It is now IN the flow: still inside the 4th column's markup, but
     pulled left by three column widths and made four columns wide, so it sits below the columns and the row
     grows by exactly its height. Its green background hides the column dividers where it begins; the
     margin-top clears the tallest column (PATOLOGIAS, a two-line heading). Governs only this block. */
  #r2227 .container .col:last-child { position: static; }
  #r2227 .content-wraparea { position: relative; z-index: 2; background: rgb(28, 96, 63);
    width: calc(400% + 90px); max-width: none; margin: 70px 0 0 calc(-300% - 90px);
    padding: 0 15px; box-sizing: border-box; }
}
@media (min-width: 768px) and (max-width: 991px) {
  #r2227 .content-wraparea { margin-top: 120px; }
}

/* (2) THE HOLES. The theme ships .gallery/.imagelist at opacity:0;visibility:hidden and relies on
   its slider JS (never archived) to reveal them, so the homepage gallery and the laser page
   gallery stayed invisible while keeping their height: ~1700px / ~1500px of white. Show them
   and lay the pictures out as a plain grid (arrows/dots need the dead JS, so none are shown). */
.gallery, .imagelist { opacity: 1 !important; visibility: visible !important; }
.gallery .arrow, .imagelist .arrow, .gallery .dots, .imagelist .dots { display: none !important; }
.imagelist .slides, .gallery .slides { display: block; width: 100%; overflow: visible; height: auto; }
.imagelist .slide, .gallery .slide { display: block; width: 100%; max-width: none; max-height: none;
  opacity: 1; position: static; transform: none; }
.imagelist ul.pics, .gallery ul.pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  list-style: none; margin: 0; padding: 0; }
.gallery ul.pics { grid-template-columns: repeat(3, 1fr); }
.imagelist ul.pics li, .gallery ul.pics li { float: none; width: auto; margin: 0; padding: 0; }
.imagelist .thumb, .gallery .thumb, .gallery .thumbInner { display: block; width: 100%; }
.imagelist .thumb img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery .thumb img { width: 100%; height: 260px; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .imagelist ul.pics, .gallery ul.pics { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .imagelist .thumb img, .gallery .thumb img { height: 150px; }
}

/* (3) THE APPOINTMENT ROW RAN OFF THE GRID. Rows r3666/r3751 use container-fluid (edge to edge)
   where every other row uses container-fixed (max 1170, centred): the form ended at x~1425.
   The dead map in the left half now carries the clinic's address (see authored regex rule),
   and the second, empty full-width map row r4055 (200px of nothing, on / and /contacto/) is
   dropped. */
@media (min-width: 1200px) {
  #r3666 > .container, #r3751 > .container { max-width: 1170px; margin: 0 auto; }
}
#r4055 { display: none; }
.cc-find { padding: 20px 0; text-align: center; }
#m4690 { height: auto; }

/* (4) THE 404 FILLS THE VIEWPORT; its copy now uses the site's own text classes. */
/* ROUND 3: min-height:60vh made the row taller than its message, and because the row is transparent the
   page's dark-green body showed through as an empty 380px slab between the message and the footer. No
   minimum height, a white ground, and the 404 page's body is white so nothing green can show anywhere on it
   (also under the footer on a tall window). Governs the 404 page only (#p8812). */
#p8812 { background-color: #ffffff; }
#p8812 #r5002 { min-height: 0; background-color: #ffffff; padding-bottom: 40px; }

/* ============================================================================================
   ROUND 4 (2026-10-20) - the site no longer loads anything from another host.
   ============================================================================================ */

/* (5) SELF-HOSTED TYPE. The four families the site asked for from the builder's font proxies
   (css-fonts.eu.extra-cdn.com, fonts.prod.extra-cdn.com - both re-serve Google Fonts) are now
   files in /fonts/, taken from Google Fonts, latin + latin-ext only (a Spanish site). The two
   <link>s and the two @import lines that fetched them are gone (qa_invariance: NOT STANDALONE).
   Roboto is one variable file covering the 300 and 500 the site requested. */
@font-face { font-family: 'Questrial'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/questrial-400-latin-0ba39ef2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Questrial'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/questrial-400-latin-ext-0177e32b.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/greatvibes-400-latin-51c0e8c2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/greatvibes-400-latin-ext-3b525cf2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Abel'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/abel-400-latin-55d912c7.woff2) format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/fonts/roboto-var-latin-665db5e1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/fonts/roboto-var-latin-ext-a6323dda.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* (6) THE BURGER MENU (js/restore-campeny.js). Below 1200px the theme parks the nav list
   off-canvas (position:fixed; left:100%) and paints the bars glyph as nav:before. The closed
   panel is now also visibility:hidden, so its links are not "there" for a keyboard or a probe
   while off screen (qa_legibility read them as INVISIBLE TEXT, #252525 on the panel's unopened
   rgba(0,0,0,.9) ground). The open state is the theme's own `nav.opened-menu > ul` (grey panel,
   dark links, from sitestyle-*.css), slid in from the right edge as direction=right says.
   The pseudo-element glyph gives way to a real <button> drawing the same glyph, size and colour. */
.restore-nav-toggle { display: none; }
nav.module.nav li.restore-close-item { display: none; }
@media only screen and (max-width: 1199px) {
  nav.module.nav.restore-nav-ready:before { content: none !important; display: none !important; }
  nav.module.nav .restore-nav-toggle {
    display: inline-block; width: 44px; height: 44px; padding: 0; margin: 0;
    background: transparent; border: 0; cursor: pointer; color: rgb(28, 96, 63);
    font: normal 24px/44px "FontAwesome"; text-align: center; vertical-align: middle;
  }
  nav.module.nav .restore-nav-toggle:before { content: "\f0c9"; font-family: "FontAwesome"; }
  nav.module.nav > ul.navContainer { visibility: hidden; }
  nav.module.nav.opened-menu > ul.navContainer { visibility: visible; left: auto; right: 0; }
  nav.module.nav li.restore-close-item { display: block; height: 0; margin: 0; padding: 0; }
  nav.module.nav > ul .closeBtn {
    background: transparent; border: 0; cursor: pointer; line-height: 1;
    min-width: 44px; min-height: 44px; color: rgb(37, 37, 37); font-size: 2em;
  }
}

/* (7) TAP TARGETS a visitor actually uses (qa_legibility, under 24px). The three service headings
   in the green band are the homepage's links into its own treatment pages (20px tall at 1440,
   18px at 390); the privacy opt-in label and its link are the box a visitor must tick to send the
   form (23px / 16px). Each gets padding inside a matching negative margin, so the hit area grows
   and nothing on the page moves. */
#r2227 .lightsmallsubtitle a { display: inline-block; padding: 4px 0; margin: -4px 0; }
form.module.form .optins label { display: inline-block; padding-top: 3px; padding-bottom: 3px; }
form.module.form .optins a.optinLink { display: inline-block; padding: 4px 0; margin: -4px 0; }

/* (8) THE COOKIE TABLE at 390px is four columns of the clinic's own text (501px wide): it scrolls
   inside its own box rather than making the whole page pan sideways. Long support URLs in that
   policy wrap. */
@media only screen and (max-width: 767px) {
  #r2474 table { display: block; max-width: 100%; overflow-x: auto; }
  #r2474 .module.text { overflow-wrap: anywhere; }
}

/* ===== ROUND 6 (2026-10-20): cosmetic leftovers the visual review named ==========================
   (9) Three 4px stubs of the green band's white column dividers poked out below the client's
   block (x~428/719/1012): the columns end a few pixels below the block that covers them. The
   block's own green ground is extended 12px further down, with an equal negative margin, so it
   covers the stubs and nothing on the page moves. The block's markup and text are untouched. */
@media (min-width: 768px) {
  #r2227 .content-wraparea { padding-bottom: 12px; margin-bottom: -12px; }
}
/* (10) The same dividers are drawn as left/right borders of the MENOPAUSIA and PATOLOGÍAS columns.
   Once the four columns stack (below 992px they are col-sm-12) the borders became thin white
   lines down the screen edges beside those two blocks. A divider between columns that are no
   longer side by side divides nothing. The theme writes them as `#p9533 #c2263` (two ids), so the
   override names the row id as well: two ids, later in the cascade. */
@media (max-width: 991px) {
  #r2227 #c2263, #r2227 #c3142 { border-left-width: 0; border-right-width: 0; }
}
/* (11) The photo row restored under "Ventajas" on /laser-vaginal/ (and under the services text on
   /) sat directly on the last line of the list. At 390 the third of three photos stood alone in a
   two-column grid; it now spans the row. */
.gallery, .imagelist { margin-top: 24px; }
@media (max-width: 768px) {
  .gallery ul.pics li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery ul.pics li:last-child:nth-child(odd) .thumb img { height: 200px; }
}
