/*
 * My Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */


.logo-header-container {
    background: linear-gradient(to top, #91c702, #b1e91b);
    color: green !important;
}

.top-banner-line {
    width: 100%;
    height: 2px;
    background-color: #e9f7f8;
}

.navbar {
    background: linear-gradient(to top, #91c702, #b1e91b);
}

.top-banner-container {
    width: 100%;
    background-color: #54c5c9 !important; 
    text-align: left;          /* Zarovnanie obsahu doľava */
    padding: 0px 0px;        /* Voliteľný odstup zhora/zdola a zboku */
}

.top-banner-img {
    max-width: 100%;           /* Aby bol banner responzívny na mobiloch */
    height: auto;
    display: inline-block;
}

.sidebar-header {
    padding: 4px 2px 0.5px 2px; /* hore, vpravo, dole, vlavo */
    background: linear-gradient(to top, #81baf5, #a2cffe);
    border-radius: 4px !important;  /* Jemné zaoblenie rohov */
}

/* 1. Vynútené zarovnanie celého zoznamu doľava */
.navbar ul.navigation {
    display: flex !important;
    justify-content: flex-start !important; /* Posunie položky na začiatok (doľava) */
    align-items: center !important;
    margin: 0 auto 0 0 !important;          /* Automatický pravý okraj natlačí zoznam doľava */
    padding-left: 0 !important;             /* Reset odsadenia zľava */
    list-style: none !important;
}

/* 2. Zarovnanie textu a odkazov vo vnútri položiek */
.navbar ul.navigation li {
    text-align: left !important;
    display: inline-block !important;       /* Zabezpečí, že položky budú vedľa seba */
}

/* 3. Uvoľnenie priestoru pre rodičovské kontajnery */
.navbar-section.desktop-menu,
.navbar-section.desktop-menu .dropmenu {
    display: flex !important;
    justify-content: flex-start !important;
    width: auto !important;
    flex-grow: 1 !important;                /* Menu si vezme voľné miesto a posunie akcie doprava */
}

/* 1. Predvolený vzhľad odkazov v navigácii Quark2 */
#header .dropmenu ul.navigation li a {
    padding: 6px 12px !important;  
    border-radius: 4px !important;  /* Jemné zaoblenie rohov */
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease !important; 
}

/* 2. HOVER STAV (Nabehnutie myšou) */
#header .dropmenu ul.navigation li a:hover {
    background-color: green !important; 
    color: white !important;
}

/* 3. ACTIVE / CLICK STAV (Aktívna stránka alebo kliknutie) */
#header .dropmenu ul.navigation li a:active,
#header .dropmenu ul.navigation li.active > a,
#header .dropmenu ul.navigation li a.active {
    background-color: green !important;
    color: white !important;
}

.oznam-obsah {
    font-size: 1.1rem;
}

.oznam-obsah a {
    font-size: inherit;
}
.oznam-obsah p {
    font-size: inherit;
}

/* formatovanie tabulky */

html body .content-item table.fit-table,
html body .content table.fit-table {
    display: table !important;
    width: -moz-fit-content !important; 
    width: -webkit-fit-content !important; /* Pre starší Chrome/Safari */
    width: fit-content !important; /* Pre moderný Chrome/Edge */
    
    table-layout: auto !important;
    margin-right: auto;
    margin-left: 0;
}

html body .content-item table.fit-table th,
html body .content-item table.fit-table td,
html body .content table.fit-table th,
html body .content table.fit-table td {
    text-align: left !important;
    width: auto !important;
    white-space: nowrap !important;
    padding: 0.5rem 1rem !important;
}

/* fonty pre moju temu - custom */

/* pomocne triedy pre hrubku */
.fw-normal { font-weight: 400; }
.fw-bold   { font-weight: 700; }

/* pomocne triedy pre velkost */
.fs-12 { font-size: 12px; line-height: 1.6; }
.fs-14 { font-size: 14px; line-height: 1.6; }

.fs-16 { font-size: 16px; line-height: 1.5; }
.fs-18 { font-size: 18px; line-height: 1.5; }
.fs-20 { font-size: 20px; line-height: 1.45; }

.fs-24 { font-size: 24px; line-height: 1.35; }
.fs-28 { font-size: 28px; line-height: 1.3; }

.fs-32 { font-size: 32px; line-height: 1.25; }
.fs-40 { font-size: 40px; line-height: 1.2; }
.fs-48 { font-size: 48px; line-height: 1.15; }

/* pomocne triedy pre farbu */
.text-red    { color: #d9534f !important; }
.text-dark   { color: #222222 !important; }
.text-muted  { color: #6c757d !important; }
.text-blue   { color: #0275d8 !important; }
.text-green  { color: #2e7d32 !important; }
.text-orange { color: #e67e22 !important; }
.text-white  { color: #ffffff !important; }

/* pisma */
.text-trebuchet {
  font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
  letter-spacing: normal;
}

.text-georgia {
  font-family: Georgia, Palatino, "Palatino Linotype", Times, serif;
  letter-spacing: normal;
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum";
  -webkit-font-feature-settings: "lnum";
  font-feature-settings: "lnum";  
}

.text-times {
  font-family: "Times New Roman", Times, "Baskerville Old Face", "Hoefler Text", Garamond, serif;
  letter-spacing: normal;
}

/* fonty pre moju temu - globalne */

h1, h2, h3, h4, h5, h6 {
  font-family: "Georgia", Times, "Times New Roman", serif;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-feature-settings: "lnum" 1, "tnum" 1;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
