/*
 * pigmi.gr — child theme του YOOtheme Pro με την εμφάνιση του παλιού yoo_moreno (Warp 7, 2015).
 * Τιμές από το παλιό site: φόντο #626263, κουτιά #727272, μπάρα μενού #5b5b5b,
 * μενού γαλάζιο #06faf2 Times bold, links #c4c7f6, ημερομηνίες #00d4ff, κείμενο #fafafa Verdana.
 */
@import url("../../../media/pigmi/gallery.css");

@font-face {
  font-family: "PgFontAwesome";
  src: url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

:root {
  --pg-bg: #626263;
  --pg-box: #727272;
  --pg-bar: #5b5b5b;
  --pg-drop: #5e5e60;
  --pg-text: #fafafa;
  --pg-muted: #e1e1e1;
  --pg-link: #c4c7f6;
  --pg-link-hover: #ffffff;
  --pg-menu: #06faf2;
  --pg-date: #00d4ff;
  --pg-btn: #7f7f7f;
}

/* ---------- βάση ---------- */
html, body { background: var(--pg-bg); }
body, .uk-section-default, .tm-page {
  color: var(--pg-text);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
}
.uk-section-default, .tm-page { background: var(--pg-bg); }
a, .uk-link { color: var(--pg-link); }
a:hover, .uk-link:hover { color: var(--pg-link-hover); }
h1, h2, h3, h4, h5, h6, .uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-article-title, .uk-heading-small {
  color: #fff;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 400;
}
.uk-text-meta, .uk-article-meta, .uk-article-meta a { color: var(--pg-muted); }
hr, .uk-hr { border-top-color: rgba(255, 255, 255, .25); }

/* Το παλιό site είχε περιεχόμενο 1200px και μικρά κενά — όχι τα μεγάλα sections του UIkit */
.uk-container:not(.uk-container-expand) { max-width: 1200px; padding-left: 20px; padding-right: 20px; }
.tm-page > .uk-section, .tm-top.uk-section, .tm-bottom.uk-section, #tm-main.uk-section { padding-top: 20px; padding-bottom: 20px; }

/* ---------- header: φωτογραφία στίβου + banner λογότυπου + μπάρα μενού ---------- */
.tm-header {
  background: var(--pg-bar) url("../../../images/lanes-hd.jpg") center top / cover no-repeat;
  padding-top: 20px;
}
.tm-header .tm-headerbar-top { padding: 0; background: none; }
.tm-header .tm-headerbar-top > .uk-container { padding-left: 30px; padding-right: 30px; max-width: 1240px; }
.tm-header .uk-logo { display: block; width: 100%; }
.tm-header .uk-logo img, .tm-header .uk-logo picture { display: block; width: 100%; height: auto; max-height: 250px; object-fit: contain; background: #fff; }
.tm-header .uk-navbar-container,
.tm-header .uk-navbar-container:not(.uk-navbar-transparent) {
  background: transparent;
  border: 0;
}
.tm-header .uk-navbar-container > .uk-container { max-width: 1240px; padding-left: 30px; padding-right: 30px; }
.tm-header .uk-navbar {
  background: rgba(91, 91, 91, .99);
  min-height: 30px;
  margin-bottom: 0;
}
.tm-header .uk-navbar-left { flex-wrap: wrap; align-items: stretch; width: 100%; }
.tm-header .uk-navbar-nav { gap: 0; flex-wrap: wrap; }
.tm-header .uk-navbar-nav > li > a {
  min-height: 30px;
  padding: 0 12px;
  color: var(--pg-menu);
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  background: rgba(12, 12, 11, .02);
}
.tm-header .uk-navbar-nav > li:hover > a,
.tm-header .uk-navbar-nav > li > a[aria-expanded="true"],
.tm-header .uk-navbar-nav > li.uk-active > a { color: #fff; background: rgba(255, 255, 255, .08); }
.tm-header .uk-navbar-dropdown {
  background: var(--pg-drop);
  color: #fff;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}
.tm-header .uk-navbar-dropdown-nav > li > a { color: var(--pg-menu); font-family: "Times New Roman", Times, serif; font-weight: 700; font-size: 14px; }
.tm-header .uk-navbar-dropdown-nav > li > a:hover,
.tm-header .uk-navbar-dropdown-nav > li.uk-active > a { color: #fff; }
/* αναζήτηση στη μπάρα — μικρή, δεξιά */
.tm-header #module-40 { margin-left: auto; min-height: 30px; padding: 0 8px; }
.tm-header #module-40 .uk-search-input {
  height: 24px; font-size: 13px; color: #fff; background: rgba(255, 255, 255, .12);
  border: 0; border-radius: 2px; padding-left: 30px; width: 180px;
}
.tm-header #module-40 .uk-search-input::placeholder { color: #ddd; }
.tm-header #module-40 .uk-search-icon { color: #ddd; width: 28px; }

/* εικονίδια μενού (Font Awesome 4 του παλιού Warp) */
.pg-i::before {
  font-family: "PgFontAwesome";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  margin-right: 5px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.pg-i-home::before     { content: "\f015"; }
.pg-i-book::before     { content: "\f02d"; }
.pg-i-bullhorn::before { content: "\f0a1"; }
.pg-i-trophy::before   { content: "\f091"; }
.pg-i-group::before    { content: "\f0c0"; }
.pg-i-bolt::before     { content: "\f0e7"; }
.pg-i-pencil::before   { content: "\f040"; }
.pg-i-news::before     { content: "\f16c"; }
.pg-i-picture::before  { content: "\f03e"; }
.pg-i-envelope::before { content: "\f003"; }

/* ---------- κινητό ---------- */
.tm-header-mobile { background: var(--pg-bar) url("../../../images/lanes-hd.jpg") center top / cover no-repeat; }
.tm-header-mobile .uk-navbar-container { background: rgba(91, 91, 91, .92); }
.tm-header-mobile .uk-logo img { background: #fff; padding: 4px 6px; max-width: 62vw; height: auto; }
.tm-header-mobile .uk-navbar-toggle { color: var(--pg-menu); }
#tm-dialog-mobile .uk-offcanvas-bar { background: var(--pg-drop); }
#tm-dialog-mobile .uk-nav > li > a { color: var(--pg-menu); font-family: "Times New Roman", Times, serif; font-weight: 700; font-size: 16px; }
#tm-dialog-mobile .uk-nav-sub a { color: #fff; }

/* ---------- κουτιά (uk-panel-box του παλιού) ---------- */
.tm-sidebar .uk-panel,
#tm-main .uk-breadcrumb,
#tm-main .uk-article,
.pg-box {
  background: rgba(114, 114, 114, .99);
  color: var(--pg-text);
}
.tm-sidebar .uk-panel { position: relative; padding: 30px; margin-top: 0; }
.tm-sidebar .uk-panel + .uk-panel { margin-top: 30px; }
.tm-sidebar .uk-panel > h2, .tm-sidebar .uk-panel > h3,
.tm-bottom .uk-panel > h2, .tm-bottom .uk-panel > h3 { font-size: 24px; line-height: 29px; font-weight: 400; color: #fff; margin: 0 0 15px; text-transform: none; }
.tm-sidebar .mod-list { list-style: none; padding: 0; margin: 0; }
.tm-sidebar .mod-list > li { padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.tm-sidebar .mod-list > li:last-child { border-bottom: 0; }
.tm-sidebar .mod-list a { color: var(--pg-link); }

/* badges («Hot», «καθημερινή ανανέωση») */
#module-48::before, #module-165::before {
  position: absolute; top: 10px; right: 10px;
  background: rgba(94, 94, 96, .98); color: var(--pg-menu);
  font-size: 10px; font-weight: 700; text-transform: uppercase; line-height: 17px;
  padding: 0 5px; border-radius: 1px;
}
#module-48::before  { content: "Hot"; }
#module-165::before { content: "καθημερινη ανανεωση"; }

/* breadcrumb σε κουτί */
#tm-main > .uk-container > nav, #tm-main .uk-width-expand\@m > nav { margin-bottom: 30px !important; }
#tm-main .uk-breadcrumb { padding: 20px; margin: 0; }
#tm-main .uk-breadcrumb > * > * { color: var(--pg-text); font-size: 14px; text-transform: none; letter-spacing: 0; }
#tm-main .uk-article-meta { text-transform: none; letter-spacing: 0; }
#tm-main .uk-breadcrumb > * > a { color: var(--pg-link); }
#tm-main .uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before { color: var(--pg-text); content: "|"; margin: 0 12px; }

/* άρθρο σε κουτί, τίτλος όπως στο παλιό */
#tm-main .uk-article { padding: 40px; }
#tm-main .uk-article + .uk-article { margin-top: 30px; }
#tm-main .uk-article-title { font-size: 42px; line-height: 45px; text-transform: capitalize; margin-top: 10px !important; }
#tm-main .uk-article-meta { color: var(--pg-muted); font-size: 15px; }
#tm-main .uk-article p { line-height: 1.15; }
#tm-main .uk-article img { max-width: 100%; height: auto; }
.uk-article .uk-list a, .uk-pagination a { color: var(--pg-link); }

/* λίστες blog (Νέα, Δράσεις, Φωτογραφίες) */
.uk-button-default, .uk-button-text, .readmore a, a.uk-button {
  background: rgba(127, 127, 127, .99); color: #fff; border: 0; border-radius: 0;
  font-size: 13px; line-height: 30px; padding: 0 12px; text-transform: none; font-weight: 300;
}
.uk-button-default:hover, a.uk-button:hover { background: #8d8d8d; color: #fff; }
.uk-pagination > * > * { color: var(--pg-link); }
.uk-pagination > .uk-active > * { color: #fff; }

/* ---------- αρχική ---------- */
/* η σελίδα «Αρχική» (άρθρο 7) δεν εμφανιζόταν ποτέ — μόνο modules */
.pg-home #tm-main { display: none; }

/* πλακίδια (mosaic): 240×240, εικόνα 220 πλάτος, όπως το Warp mosaic */
.pg-home .tm-top > .uk-container { max-width: 1240px; }
.pg-home .tm-top .uk-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-left: 0;
  gap: 0;
}
.pg-home .tm-top .uk-grid > * { width: auto; padding: 10px; margin: 0 !important; min-height: 240px; }
.pg-home .tm-top .uk-panel { overflow: hidden; }
.pg-home .tm-top .uk-panel img { display: block; width: 100%; max-width: 220px; height: auto; }
.pg-home .tm-top .uk-panel p { margin: 0 0 10px; }
@media (max-width: 1199px) { .pg-home .tm-top .uk-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 959px)  { .pg-home .tm-top .uk-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px)  {
  .pg-home .tm-top .uk-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-home .tm-top .uk-grid > * { min-height: 0; }
  .pg-home .tm-top .uk-grid > :first-child { grid-column: 1 / -1; }
}

/* κάτω μέρος: όλα τα modules σε στήλη, όπως main-top / main-bottom / bottom-a */
.tm-bottom .uk-grid { display: block; margin-left: 0; }
.tm-bottom .uk-grid > * { width: 100%; padding-left: 0; }
.tm-bottom .uk-grid > * + * { margin-top: 30px; }
.tm-bottom .uk-panel { position: relative; }

/* «Τελευταία Νέα»: κουτί με κύλιση 380px */
#module-165 > h3, #module-165 > h2 { margin-bottom: 20px; }
#module-165 > h3::after, #module-165 > h2::after { content: "Νέα"; display: block; font-size: 24px; font-weight: 300; margin-top: 20px; }
#module-165 .mod-list {
  list-style: none; margin: 0; padding: 0 15px 0 0;
  max-height: 380px; overflow-y: auto;
}
#module-165 .mod-list > li { padding: 0 0 12px 15px; position: relative; margin: 0; border: 0; }
#module-165 .mod-list > li::before { content: "•"; position: absolute; left: 0; top: 0; color: #fff; }
#module-165 .mod-articles-category-title { font-size: 18px; color: var(--pg-link); }
#module-165 .mod-articles-category-date { display: block; color: var(--pg-date); font-size: 14px; }
#module-165 .mod-articles-category-introtext { display: inline; }
#module-165 .mod-articles-category-introtext p { display: inline; margin: 0; }
#module-165 .mod-articles-category-readmore { display: inline-block; margin: 6px 0 0 8px; }
#module-165 .mod-articles-category-readmore a {
  display: inline-block; background: rgba(127, 127, 127, .99); color: var(--pg-link);
  font-size: 13px; line-height: 22px; padding: 4px 12px;
}

/* φόρμα newsletter (AcyMailing) σε κουτί */
#module-166 { background: rgba(114, 114, 114, .99); padding: 40px; }
#module-166 > h3, #module-166 > h2 { margin: 0 0 15px; }
#module-166 .acym_form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
#module-166 .onefield { margin: 0; }
#module-166 label, #module-166 .acym__users__creation__fields__title { color: var(--pg-text); }
.tm-bottom .acym_module input[type="text"], .tm-bottom .acym_module input[type="email"] {
  background: #fff; color: #333; border: 0; height: 32px; padding: 0 8px; max-width: 320px; width: 100%;
}
.tm-bottom .acym_module .subbutton, .tm-bottom .acym_module button, .tm-bottom .acym_module input[type="submit"] {
  background: rgba(127, 127, 127, .99); color: #fff; border: 0; height: 32px; padding: 0 16px; cursor: pointer;
}

/* λογότυπα ΣΕΓΑΣ / ShopGR + copyright */
#module-126 table { margin: 0 auto; max-width: 100%; }
#module-126 img { max-width: none; }
@media (max-width: 739px) { #module-126 table, #module-126 tbody, #module-126 tr, #module-126 td { display: block; width: 100% !important; height: auto !important; text-align: center; } #module-126 img { float: none !important; display: inline-block; } #module-126 p { text-align: center !important; } }

/* footer του YOOtheme (κενό) */
.tm-footer, #tm-footer { background: var(--pg-bg); }

/* μικρές οθόνες: λιγότερο padding, μικρότερος τίτλος */
@media (max-width: 639px) {
  #tm-main .uk-article, #module-166, .tm-sidebar .uk-panel { padding: 20px; }
  #tm-main .uk-breadcrumb { padding: 12px 15px; }
  #tm-main .uk-article-title { font-size: 28px; line-height: 32px; }
  #module-166 > h3 { font-size: 20px; line-height: 25px; }
  #module-166 input[type="text"], #module-166 input[type="email"] { max-width: none; flex: 1 1 100%; }
}

/* το UIkit βάζει κεφαλαία στα μενού — το παλιό δεν είχε */
#tm-dialog-mobile .uk-nav > li > a, #tm-dialog-mobile .uk-nav-sub a,
.tm-header .uk-navbar-dropdown-nav > li > a { text-transform: none; letter-spacing: 0; }
