* {
	margin: 0px;
}

body {
  font-family:sans-serif;
  font-size:small;
}

P {
	margin-bottom: 7px;
}

H1 {
	margin-bottom: 10px;
	margin-top: 10px;
}

H2 {
	margin-top: 7px;
	margin-bottom: 7px;
}

#header {
	width: 100%;
	height: 30px;
	background-color: #9CF;
	padding: 10px;

	position: fixed;
	top: 0px;
}

#actinfo {
	width: 100%;
	height: 10px;
	background-color: #ADF;
	padding: 10px;
	left: 0px;

	position: fixed;
	top: 50px;
	z-index: -1;
}

#actinfo .tatami {
	text-align: center;
	height: 100%;
	float: left;
	border-right: 1px solid #39f;
	box-sizing: border-box;
}

#header A {
	color: black;
}


#page {
	margin: 15px 15px 15px 15px;
	margin-top: 90px;
	clear: both;
}

tr {
	height: 20px;
}

tr:nth-child(even) {
	background-color: #ddd;
}

.missing:nth-child(even) {
	background-color: #f99;
}

.missing:nth-child(odd) {
	background-color: #fcc;
}

.present {
	background-color: #cfc;
}
.present:nth-child(even) {
	background-color: #9f9;
}

.disciplina_zaskrtavatko {
	margin-left: 16px;
	margin-right: 16px;
}

.change {
	background: #ff5050;
}

.discipliny {
	min-width: 200px;
}
.discipliny span{
	float:left;
	width: 45px;
	font-size: 10px;
	height: 40px;
	word-wrap: break-word;
}

.narrow {
	height: 20px;
	margin: 0px;
}

fieldset {
	border: none;
	margin: 0px;
	padding: 0px;
}

input[type=text] {
	width: 50px;
}

.menu LI {
	font-size: 1.3em;
	list-style-type: disc;
	float: left;
	text-decoration: none;
	margin-right: 35px;
}

.menu LI:first-child {
	list-style-type: none;
}

.menu LI A {
	text-decoration: none;
}

.menu LI A:hover {
	text-decoration: underline;
}

.menu LI:hover UL {
	display: block;
}

.menu LI:hover UL LI {
	float: none;
}

.submenu {
	padding: 7px;
	position: absolute;
	border: 1px solid black;
	border-radius: 3px;
	display: none;
	width: auto;
	background: #ADF;
	margin-top: 0px;
}

.submenu LI {
	display: block;
	font-size: 0.9em;
}

.tlacitko {
	border: 1px solid gray;
	border-radius: 3px;
	margin: 4px;
	margin-top: 0px;
	padding: 2px;
}

.vysledky {
	float: right;
}



@media only screen and (max-width: 1081px) {

	BODY {
	  font-size:xx-large;
	}

	#header {
		width: 100%;
		height: auto;
		background-color: #9CF;
		position:static;
		padding: 0px;
		top: 0px;
	}

	.menu {
		width: 100%;
		padding: 0px;
	}

	.menu LI {
		font-size: 1.7em;
		list-style-type: disc;
		float: none;
		text-decoration: none;
		list-style-position: inside;
		margin-right: 0px;
	}

	.menu LI:first-child {
		list-style-type: disc;
	}

	.submenu LI {
		display: list-item;
		font-size: 1em;
		list-style-type: disc;
		list-style-position: inside;
	}

	#actinfo {
		width: 100%;
		height: auto;
		background-color: #ADF;
		position: static;
		font-size: 1.3em;
		z-index: auto;
		margin: 0px;
		padding: 0px;
	}

	#actinfo .tatami {
		text-align: center;
		height: 100%;
		float: left;
	}

	#page {
		margin-top: 10px;
	}

	.jazyk {
		width: 3em;
	}

	.order-tatami {
		width: 100% !important;
	}

}
