

#table_container {
	width: 910px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
	font-size: 9pt;
	color: #000000;
  }

#table_container table {
 	border:5px solid #B0C4DE;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border-spacing: 0px 0px;
}

#table_container table td,table th {
	width: 70px;
	text-align: right;
	padding: 5px 5px 2px 0px;
  background-color:  #F4F4EE;
  }

#table_container table th {
	background-color: #b0c4de;
}

#table_container .highlight { background-color:#f08080; cursor: pointer;}
#table_container .smallfont { font-size: 85%;}
#table_container .zerovalue { color: #708090;}
#table_container .negativevalue { color: blue;}

#table_name {
	font-size:140%;
  text-align: center;
	height: 30px;
  margin-top: 15px;
  margin-bottom: 10px;
}

#table_menu { 
  text-align: center;
  }

#table_menu ul {
	list-style-type: none;
  }

#table_menu li {
	display: inline-block;
	margin: 3px 3px;
	padding: 2px 5px;
	border: 1px solid rgba(0,0,0,0.38);
	background-color: #f4f4ee;
	border-radius: 6px;
	font-size: 10pt;
	line-height: 1.45;
	box-shadow: 0 1px 2px rgba(0,0,0,0.12);
	transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}


#table_menu li:hover{
	background-color: #ffffff;
	border-color: #617a98;
	box-shadow: 0 2px 8px rgba(32,70,115,0.35);
	transform: translateY(-1px);
}


#table_menu a { text-decoration: none; color: #111111; font-weight: bold;}
#table_menu a:hover { color: #111111;}
#table_year { width: 70px;}

/* MOBILNI_DATA_START */

/* Zabr�n� automatick�mu zv�t�ov�n� textu v iOS/Safari. */
html,
body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Text tla��tka se nikdy nerozd�l�. */
#table_menu li {
    display: inline-block;
    white-space: nowrap;
}

#table_menu a {
    white-space: nowrap;
}

/* Mobil: kompaktn�j�� tla��tka pro Historii i Sn�h.
   Desktopov� rozm�ry z�st�vaj� beze zm�ny. */
@media screen and (max-width: 768px), screen and (hover: none) and (pointer: coarse) {
    #table_container {
        width: 910px;
        max-width: none;
        margin: 0 auto;
    }

    #table_container table {
        margin-left: auto;
        margin-right: auto;
    }

    #table_name,
    #table_menu {
        width: 100%;
        text-align: center;
    }

    #table_menu ul {
        padding-left: 0;
        margin-left: 0;
        line-height: normal;
    }

    #table_menu li {
        font-size: 9pt;
        line-height: 1.45;
        padding: 2px 6px;
        margin: 2px 3px;
        border-radius: 6px;
    }

    #table_menu a {
        font-size: inherit;
    }
}

/* MOBILNI_DATA_END */



/* ============================================================
   HISTORIE - MODERNI TABULKA
   Sjednoceno se stylem ET / Snih
   ============================================================ */

html,
body {
    margin: 0;
    padding: 0;
    background: transparent !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

#table_container {
    width: 910px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 9pt;
    color: #111111;
}

/* Horni menu */
#table_menu {
    width: 100%;
    text-align: center;
}

#table_menu ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 860px;
    line-height: normal;
}

#table_menu li {
    display: inline-block;
    margin: 3px 3px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    white-space: nowrap;
}

#table_menu li a {
    display: inline-block;
    padding: 5px 10px;
    color: #16345F;
    background: #f4f4ee;
    border: 1px solid #c7d0da;
    border-radius: 7px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.10);
    text-decoration: none;
    font-weight: bold;
}

#table_menu li a:hover {
    color: #16345F;
    background: #ffffff;
    border-color: #617a98;
    box-shadow: 0 2px 7px rgba(32,70,115,0.22);
}

#table_menu li.picked a {
    background: #B0C4DE;
    border-color: #8fa8c4;
}

/* Nadpis tabulky */
#table_name {
    height: auto;
    margin: 11px 0 14px 0;
    color: #16345F;
    font-size: 140%;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
}

/* Tabulka */
#table_container table {
    width: 100%;
    table-layout: fixed;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #c9d2dc;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f4ee;
    box-shadow: 0 3px 9px rgba(0,0,0,0.08);
}

#table_container table th,
#table_container table td {
    box-sizing: border-box;
    width: auto;
    padding: 5px 2px;
    text-align: center;
    vertical-align: middle;
    border: 0;
    border-right: 1px solid #d0d8e2;
    border-bottom: 1px solid #d0d8e2;
}

/* datove bunky - slonova kost */
#table_container table td {
    background: #f4f4ee;
    color: #111111;
}

/* horni hlavicka mesicu */
#table_container table th {
    background: #dbeafe;
    color: #16345F;
    font-weight: bold;
}

/* levy sloupec dnu */
#table_container table tr > th:first-child {
    width: 70px;
    background: #bfdbfe;
    color: #111111;
}

/* odstraneni dvojitych hran */
#table_container table tr > *:last-child {
    border-right: 0;
}

#table_container table tr:last-child > * {
    border-bottom: 0;
}

/* rohy */
#table_container table tr:first-child > th:first-child {
    border-top-left-radius: 11px;
}

#table_container table tr:first-child > th:last-child {
    border-top-right-radius: 11px;
}

#table_container table tr:last-child > th:first-child,
#table_container table tr:last-child > td:first-child {
    border-bottom-left-radius: 11px;
}

#table_container table tr:last-child > td:last-child {
    border-bottom-right-radius: 11px;
}

/* hodnoty */
#table_container .zerovalue {
    color: #708090;
}

#table_container .negativevalue {
    color: #1f5fa9;
}

/* hover bez cerveneho pruhu */
#table_container .highlight {
    background: #e7f0fb !important;
    color: #111111 !important;
    cursor: pointer;
}

/* vyber roku */
#table_year {
    width: 70px;
}

#table_year select,
#table_container select {
    padding: 4px 8px;
    min-width: 66px;
    color: #111111;
    background: #ffffff;
    border: 1px solid #aeb9c5;
    border-radius: 5px;
    font-family: inherit;
    font-weight: bold;
    outline: none;
}

/* mobil - zachovat desktopovou tabulku 910 px */
@media screen and (max-width: 768px), screen and (hover: none) and (pointer: coarse) {
    #table_container {
        width: 910px;
        max-width: none;
        margin: 0 auto;
    }

    #table_container table {
        margin-left: auto;
        margin-right: auto;
    }

    #table_name,
    #table_menu {
        width: 100%;
        text-align: center;
    }

    #table_menu li a {
        padding: 4px 8px;
        font-size: 9pt;
    }
}


/* OPRAVA_SLOUPCE_ROKU_HISTORIE_START */
#table_year,
#table_container table tr > th:first-child {
    width: 82px !important;
}

#table_year select {
    box-sizing: border-box !important;
}
/* OPRAVA_SLOUPCE_ROKU_HISTORIE_END */
