@charset "UTF-8";

body {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	text-align: center;
}

p, h1, h2, h3 {
	color: #424242;
	font-family: Georgia, "Times New Roman", Times, serif;
  text-align:justify;
}

a {
	color: silver;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:active {
	color: silver;
	text-decoration: none;
}

img {
  border:0 none;
  }

/* layout */

#topside  { top: 0px; margin: 0 auto 0; visibility: visible;
	text-align: center;
	display: block;
	clear: both;
	height: 240px; /* bylo 240px, 168 byla moje zmena */
}

#obsah  { width: 990px; top: 0px; margin: 0 auto 0; visibility: visible;
	text-align: center;
	display: block;
	clear: both;
}

#navigace  { position: fixed; height: 240px; width: 990px; top: 0px; margin: 0 auto; visibility: visible;
	padding: 0;
	overflow: visible;
	background: transparent url(grpx/logo.png) no-repeat;
  /* background-size: 990px 168px; */ /* to v originale nebylo */
	text-align: center; 
	display: block;
	clear: both;
	z-index: 1;
}

#navigacetext  { height: 30px; top: 0px; margin: 0 auto; visibility: visible;
	padding: 0;
	text-align: center;
	font-size: 14px;
	z-index: 0;
	display: block;
	vertical-align: middle;
}

#navigacetext p {
	color: silver;
}

#navigacetext a:hover {
	color: black;
}

.menuitem {
	padding: 5px 15px;
	float: left;
	display: inline-block;
	border-right: 1px solid gray;
	text-align: center;
	color: silver;
}
.menuitemlast {
	padding: 5px 15px;
	float: left;
	display: inline-block;
	background-position: 0 30px;
	text-align: center;
	color: silver;
}

#home1  { margin: 0; visibility: visible;
	overflow: visible;
	text-align: left;
	display: block;
	position: relative;
	width: 25%;
	float: left;
	padding-top: 0;
	padding-bottom: 0;
	background-repeat: no-repeat;
}

#home2  { margin: 0; visibility: visible;
	overflow: visible;
	text-align: left;
  display: block;
	position: relative;
	width: 25%;
	float: left;
	padding-top: 0;
	padding-bottom: 0;
	background-repeat: no-repeat;
}

#home3  { margin: 0; visibility: visible;
	overflow: visible;
	text-align: left;
	display: block;
	position: relative;
	width: 25%;
	float: left;
	padding-top: 0;
	padding-bottom: 0;
	background-repeat: no-repeat;
}

#home4  { margin: 0; visibility: visible;
	overflow: visible;
	text-align: left;
	display: block;
	position: relative;
	width: 25%;
	float: left;
	padding-top: 0;
	padding-bottom: 0;
	background-repeat: no-repeat;
	clear: right;
}

#home5  { margin: 0; visibility: visible;
	overflow: visible;
	text-align: left;
	display: block;
	position: relative;
	width: 25%;
	float: left;
	padding-top: 0;
	padding-bottom: 0;
	background-repeat: no-repeat;
	clear: left;
}

#home6  { margin: 0; visibility: visible;
	overflow: visible;
	text-align: left;
	display: block;
	position: relative;
	width: 25%;
	float: left;
	padding-top: 0;
	padding-bottom: 0;
	background-repeat: no-repeat;
}

#home7  { margin: 0; visibility: visible;
	overflow: visible;
	text-align: left;
	display: block;
	position: relative;
	width: 25%;
	float: left;
	padding-top: 0;
	padding-bottom: 0;
	background-repeat: no-repeat;
}

#home8  { margin: 0; visibility: visible;
	overflow: visible;
	text-align: left;
	display: block;
	position: relative;
	width: 25%;
	float: left;
	padding-top: 0;
	padding-bottom: 0;
	background-repeat: no-repeat;
}

#home1 h1, #home2 h1, #home3 h1, #home4 h1, #home5 h1, #home6 h1, #home7 h1, #home8 h1 {
	font-size: 18px; /* bylo 22 */
	line-height: 17px;
	text-align: left;
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom: 30px;
	margin-top: -35px;
	font-weight: bold;
}

#home1 h2, #home2 h2, #home3 h2, #home4 h2, #home5 h2, #home6 h2, #home7 h2, #home8 h2 {
	font-size: 17px;
	line-height: 19px;
	text-align: left;
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom: 0;
	margin-top: 14px;
	font-weight: bold;
}

#home1 h3, #home2 img, #home3 h3, #home4 h3, #home5 h3, #home6 h3, #home7 h3, #home8 h3 {
	text-align: center;
}

#home1 h3, #home2 h3, #home3 h3, #home4 h3, #home5 h3, #home6 h3, #home7 h3, #home8 h3 {
	font-size: 17px;
	line-height: 19px;
	text-align: left;
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom: 14px;
	margin-top: 14px;
	font-weight: bold;
}

#home1 h4, #home2 h4, #home3 h4, #home4 h4, #home5 h4, #home6 h4, #home7 h4, #home8 h4 {
	font-size: 14px;
	line-height: 17px;
	text-align: left;
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom: -14px;
	margin-top: 14px;
	color: silver;
}

#home1 p, #home3 p, #home4 p, #home5 p, #home7 p, #home8 p {
	font-size: 14px;
	line-height: 19px;
	text-align: left;
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom: 17px;
	margin-top: 3px;
}

#home2 p, #home6 p {
	font-size: 14px;
	line-height: 19px;
	text-align: left;
	padding-right: 20px;
	padding-left: 20px;
	margin-top: 3px;
	sejcovafont-style: italic;
	margin-bottom: 17px;
}

.center {
	text-align: center;
}

#mezera  { margin: 10px auto 0; visibility: visible;
	overflow: visible;
	display: block;
	clear: both;
	position: relative;
	width: 990px;
	height: 30px;
	background-repeat: no-repeat;
}

#info  { margin: 0 auto; visibility: visible;
	overflow: visible;
	display: block;
	clear: both;
	position: relative;
	width: 806px;
	background-repeat: no-repeat;
	height: auto;
  bylowidth:506px;
}

#info p, #info h1, #info h2, #info h3, #info h4 {
	text-align: left;
	padding-left: 25px;
	padding-right: 25px;
}

#info h1 {
	text-align: left;
	margin-top: -39px;
	font-size: 22px;
	line-height: 17px;
	margin-bottom: 30px;
}
#info h2{
	text-align: left;
	font-size: 17px;
	line-height: 17px;
	padding-bottom: 0;
	margin-bottom: 3px;
}
#info h3{
	text-align: left;
}
#info h4 {
	text-align: left;
}

#info p {
	text-align: left;
	font-size: 14px;
	line-height: 19px;
	margin-bottom: 17px;
	margin-top: 0;
}

/* colors */

.aktualne {
	color: #ff2500;
}

.oskole_vyuka {
	color: #4b5076;
}

.kurzy {
	color: #eb977b;
}

#fotolabel {
	color: #eb977b;
  background-color: #6495ed;
}

.fotky {
	color: #c42d70;
}

.pisnicky {
	color: #5a8a4e;
}

.clanky {
	color: #e77a99;
}

.kontakt {
	color: #e05945;
}

#pisne{
	padding-right: 25px;
	padding-left: 25px;
	margin-top: 0;
}

#pisne p{
	padding-bottom: 17px;
	border-bottom: 2px dotted silver;
	padding-right: 0;
	padding-left: 0;
}

.mezera {
	border-top: 2px dotted silver;
}