/* Filename: "stilus.css"; version: "v1.8"; date: "2026.11.18"; Utvonal: "/_stilus" */
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #303030; }
#fejlec { background: #000; }
.fejlec-belso { max-width: 1120px; min-height: 80px; margin: auto; display: flex; align-items: center; gap: 14px; padding: 10px 15px; }
.logo { flex: none; line-height: 0; }
.logo img { display: block; }
h1 { margin: 0; line-height: 0; }
h1 img { max-width: 100%; height: auto; }
#test { max-width: 1120px; margin: 22px auto 0; padding: 0 15px; display: flex; align-items: flex-start; gap: 26px; }
.bal-oszlop { width: 190px; flex: none; font: bold 13px Arial, sans-serif; }
.bal-oszlop ul { margin: 0; padding: 0; list-style: none; }
.bal-oszlop a, .bal-oszlop span, .bal-oszlop summary { display: block; padding: 13px 14px; background: #3eadd9; color: #fff; text-decoration: none; border-bottom: 1px solid #89cce6; }
.bal-oszlop summary { cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.bal-oszlop summary::-webkit-details-marker { display: none; }
/* A menü lenyitható sorában a hivatkozás nem kap külön belső margót. */
.bal-oszlop summary a { display: inline; padding: 0; background: transparent; border: 0; }
.bal-oszlop summary a:hover { background: transparent; }
.bal-oszlop details ul span, .bal-oszlop details ul a { padding-left: 26px; background: #329cc7; font-weight: normal; }
.bal-oszlop a:hover, .bal-oszlop summary:hover { background: #299ac7; }
.kozep-oszlop { min-width: 0; flex: 1; font: 15px/1.65 Georgia, 'Times New Roman', serif; }
.kozep-oszlop h2, .kozep-oszlop h3 { font-family: Arial, sans-serif; font-weight: normal; }
.kozep-oszlop h2 { margin: 4px 0 24px; font-size: 22px; }
.kozep-oszlop h3 { margin: 28px 0; font-size: 15px; }
.kozep-oszlop h3.kozhasznu { font-size: 22px; margin: 36px 0 10px; }
.kozep-oszlop p { margin: 0 0 16px; }
.kozep-oszlop ul { padding-left: 22px; margin: 0 0 20px; }
[hidden] { display: none !important; }
@media (max-width: 650px) {
 .fejlec-belso { gap: 8px; }
 .logo img { width: 45px; height: 45px; }
 #test { display: block; margin-top: 16px; }
 .bal-oszlop { width: 100%; margin-bottom: 24px; }
}

/* A főmenü fölé kerülő almenüpanel. */
.bal-oszlop details { position: relative; }
.bal-oszlop details > ul {
  position: absolute; z-index: 100; left: calc(100% - 12px); top: 0;
  width: max-content; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px);
  overflow: auto; background: #58bce1; box-shadow: -5px 5px 12px rgba(0,0,0,.3);
}
.bal-oszlop details > ul.pozicionalt { position: fixed; left: var(--almenu-bal); top: var(--almenu-fent); }
.bal-oszlop details > ul a, .bal-oszlop details > ul span {
  white-space: nowrap; padding: 13px 18px; background: #58bce1;
}
.bal-oszlop details > ul a:hover, .bal-oszlop details > ul a:focus-visible { background: #43a9cf; }

/* Az almenüt jelző három pont és a várakozás jelzése. */
.bal-oszlop summary > a::after { content: "..."; }
.bal-oszlop summary.varakozik {
  background-image: linear-gradient(#4bb5dd, #4bb5dd);
  background-size: 0% 100%; background-repeat: no-repeat;
  animation: almenure-varakozas 800ms linear forwards;
}
@keyframes almenure-varakozas { to { background-size: 100% 100%; } }

/* Az almenü gyors, fokozatos megjelenése. */
.bal-oszlop details[open] > ul { animation: almenupanel-megjelenes 180ms ease-out; }
@keyframes almenupanel-megjelenes { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .bal-oszlop details[open] > ul { animation: none; }
}

/* Dokumentumok oldal formázásai. */
.dokumentumok article section { margin-bottom: 58px; }
.dokumentumok article h2 { margin-bottom: 26px; }
.dokumentumok .keret { border: 4px double #222; text-align: center; font-weight: bold; font-size: clamp(23px, 3vw, 38px); line-height: 1.2; padding: 12px; }
.dokumentumok .datumok { text-align: center; font-weight: bold; font-size: 21px; line-height: 1.5; margin: 8px 0; }
.dokumentumok .alapszabaly-cim { font-variant: small-caps; letter-spacing: .05em; }
.dokumentumok .szmsz-cim { text-align: center; font: bold 15px/1.7 Arial, sans-serif; margin: 36px 0 22px; }
.dokumentumok .bovebben { font: 16px Arial, sans-serif; margin: 14px 22px; }
.dokumentumok .pdf-lista { list-style: none; margin: 42px 0 0; padding: 0; font: 15px/2.5 Arial, sans-serif; color: #176bb6; }

/* dokumentumok/alapszabaly.html: sárga kiemelés.
   Kikapcsolás: a következő sorban a yellow helyére transparent kerüljön.
   Bekapcsolás: a transparent helyére yellow kerüljön. */
.alapszabaly-sarga { background-color: yellow; }
