/* ==========================================================================
   1. FONT-FACE, ZÁKLADNÍ NASTAVENÍ A LAYOUT WEBU (1180px FLEXBOX)
   ========================================================================== */
@font-face {
    font-family: 'TabletGothic';
    src: url('font/TabletGothic.ttf');
    font-weight: normal;
}
@font-face {
    font-family: 'TabletGothic';
    src: url('font/TabletGothic-Bold.ttf');
    font-weight: bold;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    text-align: center;
    background: #b5c3e1;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #000080;
}

a {
    color: navy;
    font-family: Arial, sans-serif;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a img {
    border: 0;
}

/* Hlavní kontejnery s maximální šířkou 1180px */
#hlavicka,
#vokno,
#hlavni,
#paticka {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

#hlavicka,
#paticka {
    background-color: #000080;
    color: #CCECFF;
}

#vokno {
    text-align: left;
    background-color: #EDF1F6;
    margin-top: 5px;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
}

/* Moderní Flexbox rozvržení */
#hlavni {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    align-items: flex-start;
}

/* 1. LEVÝ SLOUPEC: Menu a ligy (200px) */
#levy-sloupec {
    width: 200px;
    flex-shrink: 0;
    font-size: 12px;
}

/* 2. PRAVÝ OBAL: Středový obsah + Reklamní sloupec */
#pravy-sloupec {
    flex: 1;
    display: flex;
    gap: 15px;
    min-width: 0;
    align-items: flex-start;
}

/* Středový sloupec (automaticky zabere zbývající prostor) */
#pravy-sloupec-vlevo {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* 3. PRAVÝ SLOUPEC: Reklamy AdSense 300px */
#pravy-sloupec-vpravo {
    width: 300px;
    flex-shrink: 0;
    text-align: center;
}

#podsloupcema {
    width: 100%;
    padding: 10px 0;
}

/* Ochrana proti přetékání prvků, obrázků a reklam */
#pravy-sloupec-vlevo img,
#pravy-sloupec-vlevo ins.adsbygoogle,
#pravy-sloupec-vlevo iframe,
#pravy-sloupec-vlevo table,
#quicktips ins.adsbygoogle,
#quicktips iframe {
    max-width: 100% !important;
}

#pravy-sloupec-vlevo ins.adsbygoogle,
#pravy-sloupec-vlevo iframe {
    display: block !important;
    margin: 0 auto !important;
}

/* ==========================================================================
   2. HORIZONTÁLNÍ A HORNÍ NAVIGACE (Oprava opakováni loga)
   ========================================================================== */
#textpodlogo table {
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: cover !important;
}

.oblibene {
    font-size: 10px;
    text-align: right;
    font-weight: bold;
    color: white;
}

#navig {
    width: 100%;
    background-color: #dbe2f0;
    margin: 0 0 5px 0;
}

#navig ul {
    margin: 0;
    padding: 0 0 0 2px;
    font-size: 0.75em;
}

#navig ul li {
    display: inline;
}

#navig li a {
    padding: 3px 6px;
    border-radius: 12px;
    color: #036;
    border-right: 3px solid #b5c3e1;
    text-decoration: none;
    font-weight: bold;
    background-color: #dbe2f0;
}

#navig li a:hover {
    background-color: #b5c3e1;
    color: #036;
}

#textpodlogo h1 {
    padding: 47px 0px 0px 177px;
    font-weight: bold;
    font-size: 0.8em;
    color: white;
    font-family: Garamond, serif;
}

#vodorovne_menu {
    width: 100%;
    background-color: #dbe2f0;
    margin: 0 0 10px 0;
    border-radius: 4px;
}

#vodorovne_menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    width: 100%;
}

#vodorovne_menu li {
    flex: 1;
    position: relative;
}

#vodorovne_menu li a {
    display: block;
    text-align: center;
    padding: 8px 10px;
    text-decoration: none;
    color: #036;
    font-weight: bold;
    border-right: 1px solid #b5c3e1;
    transition: all 0.2s ease;
}

#vodorovne_menu li a:hover {
    background-color: #b5c3e1;
    color: #036;
}

#vodorovne_menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #B5C3E1;
    min-width: 200px;
    padding: 0;
    margin: 0;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

#vodorovne_menu li:hover ul {
    display: block;
}

#vodorovne_menu li ul li a {
    padding: 8px 15px;
    color: #036;
    display: block;
    border: none;
    border-bottom: 1px solid #dbe2f0;
    text-align: left;
}

#vodorovne_menu li ul li a:hover {
    background: #036;
    color: #dbe2f0;
}

/* ==========================================================================
   3. LEVÝ SLOUPEC (200px)
   ========================================================================== */
#levy-sloupec H1,
#levy-sloupec H2 {
    color: #d3d3d3;
    font-weight: bold;
    font-size: 11px;
    margin: 0 0 4px 0;
    background: navy;
    text-align: center;
    font-family: Arial, sans-serif;
    height: 20px;
    line-height: 20px;
    border-radius: 3px;
}

.screentabulka,
.screennadpis,
.tabulkalivetenis,
.sponzoredlinks,
.pomocne-menu table {
    width: 100% !important;
}

.screennadpis {
    background-image: url('/images/pozadi/modromodra1.gif');
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 3px;
}

.screenpopis,
.sscreenpopis {
    border: 1px solid #b5c3e1;
    font-size: 11px;
    padding: 5px;
    text-align: justify;
}

.screenpopis {
    background-color: #e6e6fa;
    color: navy;
}

.sscreenpopis {
    background-color: navy;
    color: white;
}

.pomocne-menu table {
    font-weight: bold;
    text-align: left;
    background-color: navy;
    border-bottom: 1px solid #b5c3e1;
}

.pomocne-menu a {
    font-family: Arial, sans-serif;
    background-color: navy;
    padding: 5px 8px;
    font-size: 11px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    color: #d3d3d3;
}

.pomocne-menu a:hover {
    background-color: #b5c3e1;
    color: #036;
}

/* ==========================================================================
   4. PRAVÝ REKLAMNÍ SLOUPEC (300px)
   ========================================================================== */
.side-menu-box {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
}

.side-menu-link {
    display: block;
    background: #dbe2f0;
    color: #036;
    padding: 8px 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    border-bottom: 1px solid #b5c3e1;
    transition: all 0.2s ease-in-out;
    text-align: left;
}

.side-menu-link:hover {
    background: #b5c3e1;
    color: #000;
    padding-left: 15px;
}

.reklama-kontejner {
    width: 300px !important;
    min-width: 300px !important;
    margin: 0 auto;
}

/* ==========================================================================
   5. OBSAHOVÉ BOXY A TEXTY
   ========================================================================== */
.content {
    width: 100%;
    padding: 15px;
    background: white;
    border-radius: 5px;
    margin: 5px 0 10px 0;
}

#divsvysvetlivkamanaquicktips {
    width: 100% !important;
    background: #ffffff;
    padding: 15px 20px !important;
    border-radius: 5px;
    margin: 10px 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

#divsvysvetlivkamanaquicktips h1,
.content h1 {
    font-size: 20px !important;
    font-weight: bold;
    color: #003366;
    padding-bottom: 6px;
    margin-bottom: 12px;
    border-bottom: 2px solid #0077cc;
}

#divsvysvetlivkamanaquicktips h2,
.content h2 {
    font-size: 15px !important;
    font-weight: bold;
    color: #003366;
    margin-top: 20px;
    margin-bottom: 8px;
    padding-left: 8px;
    border-left: 4px solid #0077cc;
}

#divsvysvetlivkamanaquicktips p,
.content p {
    font-size: 13px !important;
    line-height: 1.6;
    color: #003366;
    margin-bottom: 12px;
    text-align: left;
}

#divsvysvetlivkamanaquicktips a {
    color: #0056b3;
    font-weight: bold;
    text-decoration: underline;
}

#divsvysvetlivkamanaquicktips a:hover {
    color: navy;
    text-decoration: none;
}

.sidebox {
    border: 1px solid black;
    margin: 5px 0;
    padding: 8px;
    background: white;
    color: #003C67;
    font-size: 11px;
}

.sideboxheading {
    background: #465484;
    color: white;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    padding: 4px;
}

/* ==========================================================================
   6. TABULKY A DATOVÉ MŘÍŽKY
   ========================================================================== */
#pravy-sloupec table,
#katalog table,
.tabulkaquick {
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

table#example {
    width: 100%;
    border-collapse: collapse;
}

#example tr {
    background-color: #fff;
    border-top: 1px solid #e2e8f0;
}

#example tr:hover {
    background-color: #cbd5e1;
}

#example th,
#example td {
    padding: 5px 6px;
}

.standardbunka {
    font-size: 11px;
    border-bottom: 1px solid #b5c3e1;
    text-align: center;
}

.standardbunkaprocento {
    font-size: 10px;
    background: #e6e6fa;
    border-bottom: 1px solid #b5c3e1;
    text-align: center;
}

.barvapodtipek1 { font-weight: bold; font-size: 10px; background: green; color: white; padding: 2px 4px; }
.barvapodtipek2 { font-weight: bold; font-size: 10px; background: red; color: white; padding: 2px 4px; }
.barvapodtipek10 { font-weight: bold; font-size: 10px; background: lightgreen; color: white; padding: 2px 4px; }
.barvapodtipek02 { font-weight: bold; font-size: 10px; background: coral; color: white; padding: 2px 4px; }
.barvapodtipek- { font-weight: bold; font-size: 10px; background: white; padding: 2px 4px; }

.nazevligy { background: navy; color: white; font-weight: bold; font-size: 12px; text-align: left; padding: 4px 8px; }
.nazevligy a { text-decoration: none; color: white; }
.nazevligy a:hover { color: yellow; }

/* ==========================================================================
   7. STYLY PRO FAQ
   ========================================================================== */
.question {
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 13px;
    margin-top: 12px;
    padding: 6px 10px;
    color: #d3d3d3;
    background: navy;
    border-radius: 3px;
}

.answer {
    font-size: 13px !important;
    line-height: 1.6;
    color: #003366;
    text-align: left;
    font-family: Arial, sans-serif;
    padding: 8px 0;
}

.prosba {
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 13px;
    margin-top: 30px;
}

/* ==========================================================================
   8. OVLÁDACÍ TLAČÍTKA A PŘEPÍNAČE
   ========================================================================== */
.centered-button {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
}

.centered-button .large-button {
    display: block;
    width: 90%;
    background-color: #007BFF;
    color: white !important;
    text-align: center;
    padding: 12px 20px;
    font-size: 16px !important;
    letter-spacing: 0.05em;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.centered-button .large-button:hover {
    background-color: #0056b3;
}

.league-container {
    text-align: center;
    margin-top: 10px;
}

.league-button {
    display: inline-block;
    background-color: navy;
    color: white;
    padding: 5px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
}

.league-button:hover {
    background-color: #0056b3;
    color: white;
}

.viti-version-toggle-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
}

.viti-version-switch {
    display: flex;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 3px;
    border: 1px solid #cbd5e1;
}

.viti-version-btn {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    color: #475569;
    border-radius: 16px;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.viti-version-btn.active {
    background: #004085;
    color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.viti-version-btn:hover:not(.active) {
    background: #e2e8f0;
    color: #0f172a;
}

/* ==========================================================================
   9. PATIČKA
   ========================================================================== */
#paticka {
    background-color: #000080;
    color: #CCECFF;
    margin-top: 10px;
    padding: 10px 0;
    clear: both !important;
    width: 100% !important;
}

.kontakt {
    font-size: 11px;
    text-align: center;
    font-weight: bold;
    color: white;
    width: 100%;
}

.kontakt a {
    color: white;
}

#lista {
    text-align: left;
    background-color: #000080;
    width: 100%;
    color: white;
}

#lista a {
    color: #e6e6fa;
    text-decoration: none;
}

/* ==========================================================================
   11. STYLY PRO RESPONSIVNÍ LEVÉ MENU (#navigace)
   ========================================================================== */
#navigace {
    width: 100% !important;
    box-sizing: border-box;
}

#primarne {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Nadpisy sekcí (TOP LEAGUES, ALL LEAGUES) */
#primarne .menu-heading {
    background: navy;
    color: #ffffff;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    padding: 5px 8px;
    margin-top: 8px;
    margin-bottom: 2px;
    border-radius: 3px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Položky menu (jednotlivé ligy) */
#primarne li {
    margin: 0;
    padding: 0;
    width: 100%;
}

#primarne li a {
    display: flex !important;
    align-items: center;
    gap: 6px;
    background: #e6e6fa;
    color: #000080 !important;
    font-size: 11px !important;
    font-weight: bold;
    text-decoration: none !important;
    padding: 4px 8px !important;
    border-bottom: 1px solid #b5c3e1;
    width: 100% !important;
    box-sizing: border-box;
    transition: background 0.2s ease, color 0.2s ease;
}

#primarne li a:hover {
    background: navy !important;
    color: #ffffff !important;
}

#primarne li a img {
    height: 11px;
    width: 15px;
    flex-shrink: 0;
}