/* components.css — hand-written corrections to components.generated.css. Loads last. Every rule names its source:
   the measurement (inventory/design/raw/probe*, components.json) or the comparison (inventory/qa/styleguide-diff.json)
   that asked for it. No rule is copied from the CSS of the former template (yoo_joy, YOOtheme licence). */

/* ==========================================================================
   Navbar dropdowns — open state
   Source: probe L07 1366 / 1920, state «dropdown-open» (nav-dropdown parts). The generator writes the closed
   state only. Opened by .uk-open (the class the menu script sets, pilot phase) and by :hover / :focus-within, so
   the menu works without script.
   ========================================================================== */
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav > li.uk-parent { position: relative; }
/* (:is(…) and the doubled class: the generated closed state is written per page and per menu item,
   «.home .tm-navbar … li.uk-parent:nth-of-type(3) > .uk-dropdown», and must not win on a real page) */
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav > li.uk-parent.uk-open > .uk-dropdown.uk-dropdown,
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav > li.uk-parent:hover > .uk-dropdown.uk-dropdown,
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav > li.uk-parent:focus-within > .uk-dropdown.uk-dropdown {
  display: block;
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav > li.uk-parent > .uk-dropdown.uk-dropdown {
  position: absolute;
  top: 100px;
  left: 0;
  z-index: 1020;
  box-sizing: border-box;
  width: 200px;
  padding: 15px 15px 50px;
  background-color: var(--en-color-ffffff);
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: var(--en-color-7a8188);
  text-align: left;
}
/* an open dropdown never widens the page: its band is cut at the edges of the navbar (the window) */
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar.tm-navbar { overflow-x: clip; }
/* the full-width white band behind an open dropdown (the live's .tm-dropdown-overlay, height of the dropdown,
   shadow rgba(0,0,0,.04) 0 2px 1px): drawn by the dropdown itself */
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav > li.uk-parent > .uk-dropdown.uk-dropdown::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  z-index: -1;
  background-color: var(--en-color-ffffff);
  box-shadow: rgba(0, 0, 0, 0.04) 0 2px 1px 0;
}

/* «Προϊόντα»: four columns in a 1200px panel. On the live it sits at left: -900px of its menu item, whose left
   edge is at (viewport − 747px) down to 1257px and stays at 510px below that (measured on the styleguide with
   tools/qa/check-menu-fixes.mjs): under 1647px the first column is off screen (decision Σ4,
   approved fix). The panel keeps the live position wherever it fits and otherwise stops 15px from the left edge
   (17px more are kept for a classic scrollbar, which 100vw includes); it never gets wider than the window. */
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav > li.uk-parent > .uk-dropdown.uk-dropdown.uk-dropdown-width-4 {
  width: min(1200px, calc(100vw - 47px));
  left: max(-900px, min(-478px, calc(779px - 100vw)));
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown .uk-dropdown-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown .uk-dropdown-grid > div {
  box-sizing: border-box;
  float: left;
  padding-left: 15px;
  padding-right: 15px;
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown.uk-dropdown-width-4 .uk-dropdown-grid > div { width: 25%; }
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown ul.uk-nav-navbar {
  margin: 0 0 0 -15px;
  padding: 0;
  list-style: none;
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown ul.uk-nav-navbar > li > a {
  display: block;
  padding: 5px 20px;
  color: var(--en-color-adb1b4);
  text-decoration: none;
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown ul.uk-nav-navbar > li.uk-active > a,
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown ul.uk-nav-navbar > li > a:hover,
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown ul.uk-nav-navbar > li > a:focus {
  color: var(--en-color-0672b9);
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown li.uk-nav-header {
  padding: 5px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 30px;
  color: var(--en-color-494c50);
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown ul.uk-nav-sub {
  margin: 10px 0;
  padding: 5px 0 5px 30px;
  list-style: none;
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown ul.uk-nav-sub > li > a {
  display: block;
  padding: 2px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 30px;
  color: var(--en-color-adb1b4);
  text-decoration: none;
}
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown ul.uk-nav-sub > li > a:hover,
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-dropdown ul.uk-nav-sub > li > a:focus {
  color: var(--en-color-0672b9);
}

/* ==========================================================================
   Burger and menu visibility (decisions Α3, Σ5, Σ6)
   The live sends the burger and the off-canvas menu only to phones and tablets (server side) and marks the page
   with body.sm-container; its CSS hides the navbar menu under 856px. Measured (probe-edges L07): tablet UA from
   856px shows the menu and the burger together (Σ5); a desktop window under 856px has neither (Σ6, from the CSS).
   The theme serves one markup with the burger always present:
   - body.sm-container (phone / tablet user agent): burger, never the navbar menu, at every width (Σ5);
   - any other device: the burger shows only where the navbar menu is hidden, under 856px (Σ6).
   ========================================================================== */
/* (body:not(…): the generated rules of the button are scoped by page, «.home .menu-icon-cont[…]», and must not win) */
.menu-icon-cont[class*="sm-btn-"],
body:not(.sm-container) .menu-icon-cont[class*="sm-btn-"] { display: none; }
body.sm-container .menu-icon-cont[class*="sm-btn-"],
body .sm-container .menu-icon-cont[class*="sm-btn-"] { display: block; }
@media (max-width: 855px) {
  .menu-icon-cont[class*="sm-btn-"],
  body:not(.sm-container) .menu-icon-cont[class*="sm-btn-"] { display: block; }
}
/* (!important: the generated rule of the menu carries it, as the UIkit visibility class of the live does) */
.sm-container .tm-navbar ul.uk-navbar-nav { display: none !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
/* to-top arrow: one 45px drawing at the top of the button. The probes do not record background-repeat of
   pseudo-elements; the comparison at 375px showed a second arrow 45px lower (styleguide-diff footer 375x812). */
footer#tm-footer a.tm-totop-scroller::before { background-repeat: no-repeat; }

/* ==========================================================================
   Home page context
   ========================================================================== */
/* The home page of the live sets upright text and a darker text colour on the whole page (probe L01, page-shell
   html / body: font-style normal, color rgb(63, 65, 80); every inner page: italic, rgb(122, 129, 136)). The
   generator cannot scope a rule of html / body to a page, so the body class carries it. */
.home {
  font-style: normal;
  color: var(--en-color-3f4150);
}

/* ==========================================================================
   Main column and sidebar (contact page)
   ========================================================================== */
/* Source: probe L11 page-shell main / sidebar_a: 3/4 and 1/4 of the grid from 768px, full width below. The
   generated rule «#tm-main .tm-main { width: 100% }» (the value of a page without sidebar) outranks the UIkit
   width classes the columns carry, so the classes are restated at the same weight. */
@media (min-width: 768px) {
  #tm-main .tm-main.uk-width-medium-3-4 { width: 75%; }
  #tm-main .tm-main.uk-width-medium-1-2 { width: 50%; }
  #tm-main aside.uk-width-medium-1-4 { width: 25%; }
}

/* ==========================================================================
   Contact form
   ========================================================================== */
/* Rows: the generator measured the first row only (the «required fields» note, pulled up 30px) and wrote its
   margin for every row. The comparison (styleguide-diff contact-form 1366x768) shows every following row 30px
   lower on the live: only the first row is pulled up. */
form#contact-form .control-group + .control-group { margin-top: 0; }
/* Focus (probe of the live contact page, every field and the button focused in turn, 2026-11-12): the four fields
   have no outline and all turn rgb(185, 74, 72) on rgb(245, 251, 254) with a transparent shadow; the generator wrote
   that state for the name and the message only, and the browser adds its own 1px outline. The outline of the send
   button sits 2px inside its box. */
form#contact-form input#jform_contact_email:focus,
form#contact-form input#jform_contact_emailmsg:focus {
  color: rgb(185, 74, 72);
  background-color: rgb(245, 251, 254);
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
  outline-color: rgb(185, 74, 72);
}
form#contact-form input:focus,
form#contact-form textarea:focus { outline-style: none; outline-width: 0; }
form#contact-form button.btn.btn-primary:focus { outline-offset: -2px; }

/* ==========================================================================
   404 page
   ========================================================================== */
/* The error page of the live is a page of its own with upright text (probe L404 html / body: font-style
   normal); the italic of base.css is the inner pages'. 404.php puts the class on html and body. */
html.uk-height-1-1,
body.uk-height-1-1 {
  font-style: normal;
}
/* …and the row of the send button, which follows the fieldset (same comparison: the button 30px lower on the live). */
form#contact-form fieldset + .control-group { margin-top: 0; }

/* ==========================================================================
   Home sections
   Source: tools/qa/compare-rects.mjs on the live home page (768x1024, tablet UA), elements the generator does not
   see because it measures the first match of each part.
   ========================================================================== */
/* every module panel of the home page centres its text (computed text-align: center on .uk-panel) */
.home .uk-panel { text-align: center; }
/* spaced lists: 10px between items (UIkit 2 list component, MIT; the rule was not picked up by gen-grid-css) */
.uk-list-space > li:nth-child(n+2),
section.tm-top-c ul.uk-list-space > li:nth-child(n+2) { margin-top: 10px; }
/* «benefits» text column: the last paragraph keeps its 20px bottom margin on the live */
section.tm-top-c > div:nth-child(1) > .uk-panel > p:last-child { margin-bottom: 20px; }

/* ==========================================================================
   Equal-height columns
   ========================================================================== */
/* The live equalises the panels of a grid row with a script (UIkit grid-match: min-height of every panel = the
   tallest of its row; inline min-height in the reference HTML). Same result without script: the columns already
   stretch to the row (flex grid), and the panel fills its column. */
[data-uk-grid-match] > div { display: flex; flex-direction: column; }
[data-uk-grid-match] > div > .uk-panel { flex: 1 0 auto; }

/* ==========================================================================
   Content spacing (articles, grids)
   Source: tools/qa/compare-rects.mjs on the production-line page, the stuffed-olives category and the home page.
   ========================================================================== */
/* article paragraphs: 20px below each, none below the last element. The generator measured the profile page,
   whose first measured paragraph is also its last element (0px), and wrote 0px for every paragraph. */
/* (.cpad: the generated copy of the rule for the padded text pages has that weight) */
main#tm-content > article.uk-article > p,
.cpad main#tm-content > article.uk-article > p { margin-bottom: 20px; }
main#tm-content > article.uk-article > :last-child,
.cpad main#tm-content > article.uk-article > :last-child { margin-bottom: 0; }
/* home video block: no margin below the last paragraph of the text column */
section.tm-top-b2 .uk-grid > div > p:last-child { margin-bottom: 0; }
/* wrapped grid rows: the live adds the gutter above every grid item that is not in the first row with a script
   (data-uk-grid-margin → class uk-grid-margin; margin-top 20px measured at 375px on the category page). The class is
   UIkit's (MIT); the rule was not picked up by gen-grid-css. The page templates need the same class from their own
   script, or a row gap, when they are built (pilot phase). */
.uk-grid-margin { margin-top: 20px; }
/* (the category grid states its own 0px top margin for its columns: same weight) */
main#tm-content > .yoo-zoo.product-uikit > .uk-grid > .uk-grid-margin { margin-top: 20px; }

/* ==========================================================================
   Home «τα προϊόντα μας»: filter links and certificate list
   Source: tools/qa/probe-pair.mjs on the live home page (1366x768 and 1920x1080, 2026-11-11). The generator measures
   the first match of each part: the first filter link is the active one, the first list item has no line above it.
   ========================================================================== */
/* filter links that are not the active one: rgb(63, 65, 80) */
section.tm-top-d ul.uk-subnav > li:not(.uk-active) > a { color: rgb(63, 65, 80); }
/* certificate list, every item after the first: 5px + 1px line rgb(236, 237, 237) + 5px above it (36px tall) */
section.tm-top-d ul.uk-list-line > li:nth-child(n+2) { margin-top: 5px; padding-top: 5px; border-top: 1px solid rgb(236, 237, 237); }

/* ==========================================================================
   Home dot navigation
   Source: tools/qa/probe-pair.mjs on the live home page (1366x768, 2026-11-11). The generator measures the first
   dot, which is the active one.
   ========================================================================== */
/* only the active dot has the ring: the others keep the 2px border transparent */
.tm-smoothscroll-bar ul.uk-dotnav > li:not(.uk-active) > a { border-color: rgba(0, 0, 0, 0); }

/* ==========================================================================
   Vertical menu of phones and tablets, open (.sm-open on the body)
   Source: inventory/design/raw/probe/L07 (state «mobile-open», 375x812 phone and 768x1024 tablet): a 300px panel
   at the right edge, as tall as the window: logo row, then the menu tree (closed branches hidden).
   The generator skips this component (it has no size while closed).
   ========================================================================== */
nav[id^="off-menu_"] {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  box-sizing: content-box;
  width: 300px;
  height: 100%;
  font-size: 16px;
  font-style: italic;
  line-height: 30px;
  color: rgb(122, 129, 136);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px -1px, rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}
.sm-open nav[id^="off-menu_"] { display: block; }
nav[id^="off-menu_"] * { box-sizing: border-box; }
nav[id^="off-menu_"] .sm-logo,
nav[id^="off-menu_"] .sm-levels { line-height: normal; }
/* logo row: 97px (5 + 86 + 5 + 1px line) */
nav[id^="off-menu_"] .sm-logo {
  padding: 5px 0;
  text-align: center;
  background-color: rgb(255, 255, 255);
  border-bottom: 1px solid rgb(194, 209, 173);
}
nav[id^="off-menu_"] .sm-logo img { width: 150px; height: 86px; }
/* the tree fills the rest of the panel */
nav[id^="off-menu_"] .sm-levels { position: relative; height: calc(100% - 97px); overflow: hidden; }
nav[id^="off-menu_"] .sm-level.level1 {
  height: 100%;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 3px 1px, rgba(0, 0, 0, 0.2) 0px 0px 1px 0px;
}
nav[id^="off-menu_"] dl { position: relative; margin: 0; overflow-x: hidden; }
nav[id^="off-menu_"] dl.level1 { overflow-y: auto; }
/* one row: 35px (1 + 7 + 19 + 7 + 1) */
nav[id^="off-menu_"] dt {
  display: table;
  width: 100%;
  margin: 0;
  padding: 7px 15px;
  font-weight: 700;
  line-height: normal;
  border-top: 1px solid rgba(255, 255, 255, 0);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}
nav[id^="off-menu_"] dl.level2 > dt { padding-left: 30px; }
nav[id^="off-menu_"] dl.level3 > dt { padding-left: 45px; }
/* a 20px cell at the end of every row without children */
nav[id^="off-menu_"] dt::after { content: ""; display: table-cell; width: 20px; }
nav[id^="off-menu_"] dt.parent::after { display: none; }
nav[id^="off-menu_"] dt:hover { background-color: rgba(218, 230, 233, 0.4); }
nav[id^="off-menu_"] dt .inner { display: table-cell; vertical-align: middle; padding-right: 4px; }
nav[id^="off-menu_"] dt .link { position: relative; display: block; text-align: left; }
nav[id^="off-menu_"] dt a { font-size: 16px; font-weight: 300; font-style: normal; line-height: normal; color: rgb(76, 118, 117); text-decoration: none; }
nav[id^="off-menu_"] dl.level2 dt a { font-size: 14px; }
nav[id^="off-menu_"] dl.level3 dt a { font-size: 13px; }
/* branches: closed until opened (class «opened» on the dd, set by the menu script of the pilot phase) */
nav[id^="off-menu_"] dd { display: none; margin: 0; line-height: normal; overflow: hidden; }
nav[id^="off-menu_"] dd.opened { display: block; }

/* ==========================================================================
   Typeface of the text elements
   Source: the template rule of the live «p, h1 … div, a { font-family: Roboto !important }» and its one exception
   «.fa { font: … FontAwesome !important }» (a class outranks an element among important rules), checked with
   tools/qa/probe-pair.mjs on the contact page: every such element computes Roboto, i.fa computes FontAwesome,
   form controls are not in the list and keep the font of the page (Σ3). The error page of the live loads another
   bundle without the rule (Dosis headline, icon font on an <i>), so the 404 page is left out.
   :where() keeps the weight of an element selector, as on the live.
   ========================================================================== */
:where(body:not(.error404)) :is(p, h1, h2, h3, h4, h5, h6, span, li, ul, b, i, div, a) { font-family: Roboto, sans-serif !important; }
.fa { font-family: FontAwesome !important; }

/* ==========================================================================
   «Προϊόντα» dropdown: line between the columns
   Source: tools/qa/probe-pair.mjs on the live (1920x1080, dropdown open by hover, 2026-11-11). The generator measures
   the first column, which has no line.
   ========================================================================== */
/* every column after the first: 1px solid rgb(236, 237, 237) on its left */
.tm-navbar ul.uk-navbar-nav > li.uk-parent:nth-of-type(3) .uk-dropdown-grid > div:nth-child(n+2) { border-left: 1px solid rgb(236, 237, 237); }

/* ==========================================================================
   Sticky navbar (assets/js/site.js adds .uk-active)
   Source: inventory/design/raw/probe/L01 1366x768 and 768x1024, state «sticky»: position fixed at the top, full
   width, white, z-index 1002, border-box; it enters with a 0.2s ease-out slide from above.
   ========================================================================== */
.tm-navbar.uk-active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  box-sizing: border-box;
  width: 100%;
  background-color: rgb(255, 255, 255);
}
@keyframes en-slide-top { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
.tm-navbar.uk-animation-slide-top { animation: en-slide-top 0.2s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .tm-navbar.uk-animation-slide-top { animation: none; }
}

/* ==========================================================================
   Off-canvas menu, open (body.sm-open; the button gets .sm-close)
   Source: inventory/design/raw/probe/L07 375x812 and 768x1024, state «mobile-open»: the page stops scrolling on a
   dark ground rgb(68, 68, 68) and scrolls inside its own box (white), the button sits beside the panel (50px box,
   300px from the right edge) and its three bars turn into an ×.
   The page stays where it is under a grey cover: the pseudo-element of the wrapper, black at opacity 0.2, fading
   in 0.5s (probe of the live with the menu open, 375x812, and tools/qa/states-diff.mjs at 375 and 768,
   2026-11-12: wrapper without a transform, cover opacity 0.2). An earlier reading had the page move 300px left.
   On a narrow window of a computer (Σ6) there are no page wrappers: the menu lies over the page.
   ========================================================================== */
body.sm-open {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background-color: rgb(68, 68, 68);
}
body.sm-open > .sm-pusher {
  position: relative;
  z-index: 99;
  box-sizing: border-box;
  height: 100%;
}
body > .sm-pusher::after { transition: opacity 0.5s; }
body.sm-open > .sm-pusher::after { height: auto; opacity: 0.2; }
body.sm-open .sm-pusher > .sm-content {
  box-sizing: border-box;
  height: 100%;
  overflow: auto;
  background-color: rgb(255, 255, 255);
}
body.sm-open .sm-content > .sm-content-inner { position: relative; min-height: 100%; }
/* (the button sits outside the page wrapper, so it is moved by itself) */
body.sm-open .menu-icon-cont[class*="sm-btn-"] { position: fixed; z-index: 9999; right: 300px; left: auto; }
.menu-icon-cont[class*="sm-btn-"] { transition: right 0.5s; }
.menu-icon-cont.sm-close .menu-icon3 > span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-icon-cont.sm-close .menu-icon3 > span:nth-child(2) { opacity: 0; }
.menu-icon-cont.sm-close .menu-icon3 > span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* the button is a control: pointer and a visible keyboard focus (the old one was a plain box) */
.menu-icon-cont[class*="sm-btn-"] { cursor: pointer; }
/* rows of the off-canvas menu that only open their branch behave as buttons (approved fix Β3) */
nav[id^="off-menu_"] dt a[role="button"] { cursor: pointer; }

/* ==========================================================================
   Home «τα προϊόντα μας», left column
   Source: the module of the old site carried these as inline styles in its text (inventory/modules.json, modules
   117 and 209); the content now comes from fields, so the values live here.
   ========================================================================== */
/* inner box of the text column: at least 945px tall */
section.tm-top-d .en-products-intro { min-height: 945px; }
/* certification marks: centred, 50px below the list */
section.tm-top-d img#certifications { display: block; margin: 50px auto 0; }

/* ==========================================================================
   Page frame of the home page on a real page (tools/qa/page-diff.mjs, home 1366x768, first run)
   ========================================================================== */
/* room for the picture fixed behind the end of the page: one window height below the page (live: body
   padding-bottom equal to the window height at every measured size; the generated rule is «.home body», which
   cannot match because .home is the body) */
body.tm-footer-fixed { padding-bottom: 100vh; }
/* divider above a section: a 1px line across its top. The generator recorded the line by its measured distance from
   the bottom of the section of the styleguide stage; on a page of another height that stretched it into a band. */
section.tm-top-c::before,
section.tm-top-d::before { bottom: auto; height: 1px; }

/* ==========================================================================
   Home «η εταιρεία»: counter of the alternating photographs
   Source: tools/qa/page-diff.mjs, home 1366x768 (boxes of the counter): the numbers lie on top of each other at
   the top of the counter box and only the current one shows (0.5s cross-fade); the list itself takes no room.
   The generator measured the current number only.
   ========================================================================== */
section.tm-top-b .tm-slidenav-count ul { margin: 0; padding: 0; list-style: none; }
section.tm-top-b .tm-slidenav-count ul > li { position: absolute; top: 0; opacity: 0; transition: opacity 0.5s; }
section.tm-top-b .tm-slidenav-count ul > li.uk-active { opacity: 1; }
/* photographs: the current one on top, the others faded out (0.5s cross-fade, Widgetkit setting «fade», 500ms) */
section.tm-top-b ul.uk-slideshow > li { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: 0; padding: 0; list-style: none; opacity: 0; transition: opacity 0.5s; }
section.tm-top-b ul.uk-slideshow > li.uk-active { opacity: 1; }

/* ==========================================================================
   Sizes that follow the content (tools/qa/page-diff.mjs, English home page, first full run)
   The generator measured the Greek page and wrote some content sizes as fixed values; with other words in the same
   place (the English page, or any later edit) they are wrong. The live has none of them declared.
   ========================================================================== */
/* button of «η εταιρεία»: as wide as its label (generated: 204.53px, the Greek label) */
section.tm-top-b a.uk-button { width: auto; }
/* current filter of the products: as wide as its label (generated: 18.2px, «All») */
section.tm-top-d ul.uk-subnav > li.uk-active > a { width: auto; }
/* columns of a row: their equal height is set by assets/js/site.js from the content (the live did it with a script
   too); the generated minimum heights are those of the Greek texts */
/* (body:not(.sg-body) stays in the selectors for its weight against the generated rules; the styleguide page that
   carried the class was a Gate 2 tool and is gone) */
body:not(.sg-body) section.tm-top-b > div:nth-child(1) > .uk-panel,
body:not(.sg-body) section.tm-top-d .uk-panel-box-secondary { min-height: 0; }
/* counter of the photographs: one line as tall as the counter box, 50px, 80px from 1220px (generated height of
   .tm-slidenav at those widths; live numbers measured 80px tall at 1366 and 1920) */
section.tm-top-b .tm-slidenav-count ul > li { line-height: 50px; }
@media (min-width: 1220px) {
  section.tm-top-b .tm-slidenav-count ul > li { line-height: 80px; }
}
/* text column of «τα προϊόντα μας»: hidden on phones and tablets only where the page says so (the Greek page, by the
   class uk-hidden-small / uk-hidden-medium). The generated rule hides the first column outright, as measured on the
   Greek page; the English page shows it on every screen. (!important: the generated rule carries it) */
section.tm-top-d > div:nth-child(1):not(.uk-hidden-small) { display: block !important; }
/* a column that wraps under the one before it keeps the 20px gutter above it (class set by assets/js/site.js); the
   generated rule of the second column says 0px, measured on the Greek page where the first column is hidden */
section[class*="tm-top-"] > div.uk-grid-margin { margin-top: 20px; }
/* navbar menu and its current item: as wide as their labels (generated: 713.25px for the list from 1900px and
   54.78 / 67.39px for the current item, the widths of the Greek labels; tools/qa/page-diff.mjs, English home at
   1920x1080: the menu sat 7px further right). (:is(…): the generated rules are scoped by .home and
   .tm-header-absolute) */
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav,
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav > li.uk-active,
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar ul.uk-navbar-nav > li.uk-active > a { width: auto; }
/* navbar links other than the current page: rgb(29, 29, 29) (measured on the parents «Εταιρεία», «Προϊόντα»; seen on
   the plain links in tools/qa/page-diff.mjs, home 1366x768). The generator measured the first link, the current one
   (rgb(40, 56, 60)), and wrote its colour for every link. Hover and focus keep their generated colours. */
/* (home page only, where the navbar lies over the header picture: on the other pages the same links measure
   rgb(73, 76, 80), probe L07, and keep their generated colour) */
.tm-header-absolute .tm-navbar ul.uk-navbar-nav > li:not(.uk-active) > a:not(:hover):not(:focus) { color: rgb(29, 29, 29); }
/* the divider line is placed from the inner box of its block (the box the 80px / 20px padding of the block ends at):
   live pixels rgb(236, 237, 237) on the row where the block begins (2009 and 2739 at 1366x768), none on the page
   without this (tools/qa/page-diff.mjs, strict pass) */
.tm-block-divider > div { position: relative; }
/* the transparent cover of the page wrapper (generated from the measured pseudo-element: fixed, whole window,
   z-index 10000, opacity 0) must not take the clicks meant for the page and the menu button
   (tools/qa/interactions.mjs, phone: the button could not be pressed) */
body > .sm-pusher::after { pointer-events: none; }

/* ==========================================================================
   Page overlay while a navbar dropdown is open
   Source: inventory/design/raw/probe (page-shell, part navbar_overlay): fixed over the whole window, rgba(0, 0, 0,
   0.6), z-index 1001; it is in the page all the time and hidden by its «hidden» attribute, which assets/js/site.js
   removes while a dropdown is open (0.3s fade, components.json «motion»). The generated rule records it as
   display: none, the state it was measured in.
   ========================================================================== */
@keyframes en-fade { from { opacity: 0; } to { opacity: 1; } }
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar-overlay:not([hidden]) { display: block; animation: en-fade 0.3s linear both; }
/* while the off-canvas menu is open the window-high room below the page (body.tm-footer-fixed) is given up, so the
   page keeps the whole window (seen on the phone: the page content had no height left) */
body.tm-footer-fixed.sm-open { padding-bottom: 0; }

/* navbar box on windows wider than 1920px: centred (it is 1920px wide at most). The generated rule carries the
   margins measured up to 1920px, 0px (probe of the live at 2560x1440, 2026-11-12: box at x=320, margins 320px) */
:is(.home, .tm-header-absolute, .tm-isblog, body) .tm-navbar .uk-navbar.uk-hidden-small.uk-container-center { margin-left: auto; margin-right: auto; }
