html {
	height: 100%;
	overflow-y: scroll;
}

#podpis {
	text-align: right;
}

body {
	background: white;
	font-size: 0.7em;
	text-align: center;
	height: 100%;
	margin: 0;
	padding: 0;
}

.vylet img {
	width: 30em;
	max-width: 100%;
	-moz-column-gap: 10px; /* Firefox */
	-webkit-column-gap: 10px; /* Safari and Chrome */
	column-gap: 10px;
}
.edit {
	padding-left: 5px;
	display: inline-block;
	width: 18px;
	height: 18px;
	background-image: url(../grafika_webu/edit.gif);
	background-repeat: no-repeat;
	cursor: pointer;
}
.del {
	padding-left: 5px;
	display: inline-block;
	width: 18px;
	height: 18px;
	background-image: url(../grafika_webu/del.png);
	background-repeat: no-repeat;
	cursor: pointer;
}
.add {
	display: inline-block;
	width: 18px;
	height: 18px;
	background-image: url(../grafika_webu/plus.png);
	background-repeat: no-repeat;
	cursor: pointer;
}
.error_div{
	color:white;
	background-color:red;
	font-size: 3em;
}

/*----------------------------Tabulkajizdni rady-------------------------*/
.pdf {
	border: solid 1px black;
	width: 100%;
	background: black;
}

.pdf td {
	border: solid 1px black;
	background: white;
}

.mapa {
	border: 3px solid black;
	height: 300px;
	width: 300px;
}

h1 {
	text-align: center;
}

h2 {
	color: #607510;
}

.tabl {
	font-size: 1.5em;
	margin: auto;	
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	margin: auto;
}

.tabl td {
	border-color: #607510;
	border-style: solid;
	border-width: 0px 1px 1px 0px;
	padding: 6px 10px 4px 10px;
}

.tabl tr.zahlavi>td {
	color: #607510;
	font-weight: bold;
	text-align: center;
}

ul li {
	list-style-type: none;
}

.article {
	text-align: justify;
	margin: 3px;
}

#map_canvas {
	height: 100%
}

#nav {
	margin: 0px;
	background-color: grey;
	text-align: left;
}

#nav ul {
	background-color: black;
	font-size: 0.75em;
}

#nav a {
	color: #fff;
	text-decoration: none;
}
@media screen and (min-width: 680px) {
	img {
		clear: both;
		width: auto;
		float: none;
	}
	body {
		color: black;
		background-image: url("../grafika_webu/strom.jpg");
		font-size: 1em;
		z-index: 10;
		text-align: center;
	}
	a {
		color: #575757;
		/*	text-shadow: right; prej parametr right nezna, neni to pak validni, odkomentovano */
	}
	a:hover {
		color: black;
	}
	/*----------------------------papír-pozadí-------------------------*/
	.paper {
		background: white;
		max-width: 1100px;
		width: 85%;
		top: 5%;
		margin: auto;
		border-radius: 20px;
	}
	/*---------------------------nadpis-----------------------*/
	.nadpis {
		padding-top: 50px;
		font-size: 50px;
		line-height: 40px;
		color: #607510;
		text-decoration: none;
		font-size: 50px;
	}

	/*----------------------------zapati-------------------------*/
	.paticka {
		background-color: #607510;
		padding: 10px;
		margin-top: 50px;
		border: 1px solid black;
	}
	/*----------------------------obsah predefin-------------------------*/
	.article {
		text-align: justify;
		margin-left: 10%;
		margin-right: 10%;
	}
	.article ul {
		text-align: left;
	}
	.vylet {
		column-count: 2;
		-moz-column-count: 2; /* Firefox */
		-webkit-column-count: 2; /* Safari and Chrome */
		-moz-column-gap: 40px; /* Firefox */
		-webkit-column-gap: 40px; /* Safari and Chrome */
		column-gap: 40px;
	}
	.vylet img {
		margin-left: 5%;
		width: 20em;
		max-width: 100%;
	}

	/*----------------------------mapa predef-------------------------*/
	.mapa {
		border: 5px solid black;
		height: 500px;
		width: 500px;
	}
	/*----------------------------menu-------------------------*/
	#nav {
		margin-top: 2%;
		padding: 7px 6px 0;
		line-height: 100%;
		border-radius: 0em;
		-webkit-border-radius: 0em;
		-moz-border-radius: 0em;
		/*	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);    */
		/*	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);   */
		background: #a9a9a9; /* for non-css3 browsers */
		/*	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a'); /* for IE */
		/*	background: -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); /* for webkit browsers */
		/*	background: -moz-linear-gradient(top,  #a9a9a9,  #a9a9a9); /* for firefox 3.6+ */

		/*	border: solid 1px #6d6d6d;    */
	}
	#nav li {
		margin: 0 5px;
		padding: 0 0 8px;
		float: left;
		position: relative;
		list-style: none;
	}
	/* main level link */
	#nav a {
		font-weight: bold;
		color: #000000;
		text-decoration: none;
		display: block;
		padding: 1px 1px;
		margin: 0;
		/*	-webkit-border-radius: 0em;     */
		/*	-moz-border-radius: 0em;         */
		/*	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);     */
	}
	/* main level link hover */
	#nav .current a,#nav li:hover>a {
		background: #d1d1d1; /* for non-css3 browsers */
		/*	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#a1a1a1'); /* for IE */
		/*	background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#a1a1a1)); /* for webkit browsers */
		/*	background: -moz-linear-gradient(top,  #ebebeb,  #ebebeb); /* for firefox 3.6+ */
		color: #000000;
		/*	border-top: solid 1px #f8f8f8;  světlej řádek na vrchu při hoveru */
		-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
		-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
		box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
		text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
	}
	/* sub levels link hover */
	#nav ul li:hover a,#nav li:hover li a {
		background: none;
		border: none;
		color: #000000;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
	}
	#nav ul a:hover {
		background: #a9a9a9 !important; /* for non-css3 browsers */
		/*	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#04acec', endColorstr='#0186ba'); /* for IE */
		/*	background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba)) !important; /* for webkit browsers */
		/*	background: -moz-linear-gradient(top,  #04acec,  #0186ba) !important; /* for firefox 3.6+ */
		color: #000000 !important;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
	}
	/* level 2 list */
	#nav ul {
		background: #ffffff; /* for non-css3 browsers */
		/*	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cfcfcf'); /* for IE */
		/*	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#cfcfcf)); /* for webkit browsers */
		/*	background: -moz-linear-gradient(top,  #fff,  #cfcfcf); /* for firefox 3.6+ */
		display: none;
		margin: 0;
		padding: 0;
		width: 185px;
		position: absolute;
		top: 35px;
		left: 0;
		border: solid 1px #b4b4b4;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
		-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
		-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
		box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
		z-index: 1;
	}
	/* dropdown */
	#nav li:hover>ul {
		display: block;
	}
	#nav ul li {
		float: none;
		margin: 0;
		padding: 0;
	}
	#nav ul a {
		font-weight: normal;
		text-shadow: 0 1px 1px rgba(255, 255, 255, .9);
	}
	/* level 3+ list */
	#nav ul ul {
		left: 181px;
		top: -3px;
	}
	/* rounded corners for first and last child */
	#nav ul li:first-child>a {
		-webkit-border-top-left-radius: 9px;
		-moz-border-radius-topleft: 9px;
		-webkit-border-top-right-radius: 9px;
		-moz-border-radius-topright: 9px;
	}
	#nav ul li:last-child>a {
		-webkit-border-bottom-left-radius: 9px;
		-moz-border-radius-bottomleft: 9px;
		-webkit-border-bottom-right-radius: 9px;
		-moz-border-radius-bottomright: 9px;
	}
	/* clearfix */
	#nav:after {
		content: ".";
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
		height: 0;
	}
	#nav {
		display: inline-block;
	}
	html[xmlns] #nav {
		display: block;
	}
	* html #nav {
		height: 1%;
	}
}

/* ----------------------------jízdní řád tabulka-------------------*/
.gadgety {
	width: 550px;
	margin-left: auto;
	margin-right: auto;
}
@media screen and (min-width: 850px) {
#nav a {
	padding: 8px 20px;
	}
}