@font-face
{
	font-family: Bahnschrift;
	src: url('bahnschrift.ttf');
}

body {
	font-family: Bahnschrift, Arial;
	font-size: 16px;
	line-height: 1.5;
	color: #222; 
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0.5rem;
	margin-bottom: 0.25rem;
	font-weight: 300; 
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2.0rem; padding-top: 8px !important; }
h3 { font-size: 1.6rem; }

table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

td, th {
	padding: 10px 15px;
	text-align: left;
	border-bottom: 1px solid #E1E1E1; 
}

th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }

h1 a, .sipka a, .mezi_sipky a {
	text-decoration: none;
}

a {
	background-color: transparent;
	color: #1EAEDB; 
}

a:active, a:hover {
	outline: 0;
	color: #0FA0CE; 
}

#hlava {
	display: inline-block;
	border: solid 1px #AAA;
	padding: 10px;
	width: calc(100% - 25px);
}

#hlava h1 {
	float: left;
}

#hlava > div, #hlava h2 {
	float: left;
	padding: 5px 0 0 50px;
}

.blok, .graf_blok {
	border: solid 1px #AAA;
	padding: 10px;
	margin: 0 8px 8px 0;
	float: left;	
	height: 380px;
}

.blok {
	width: 500px;
}

.graf_blok {
	width: 1000px;
}

.prazdny_blok {
	border: none;
	padding: 11px;
}

.right {
	text-align: right;
}

.tab_popis {
	width: 150px;
}

.tab_rok {
	width: 40px;
}

.tab_energie {
	width: 120px;
	text-align: right;
}

.tab_cena {
	width: 120px;
	text-align: right;
}

.plus {
	color: #32CD76;
}

.minus {
	color: #FF6347;
}

.sipky {
	display: inline-block;
}

.sipka, .mezi_sipky, .mezi_sipky_rok {
	float: left
}

.mezi_sipky_rok {
	margin-top: 15px;
}

.sipka {
	margin-top: 1rem;
	margin-bottom: 0.25rem;
	width: 40px;
	text-align: center;
	display: block;
}

.graf_obal {
	max-width: 960px;
}

.mezera {
	margin-top: 36px;
}

@media screen and (max-width: 640px) {
	.blok {
		width: calc(100% - 25px);
		height: 460px;
	}
	
	.prazdny_blok {
		display: none;
	}
	
	.graf_blok {
		width: calc(100% - 25px);
		height: 460px;
	}
	
	.graf_obal {
		max-width: unset;
	}
}
