

#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 */

