body{
 	background-color: #BED9E9;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	color: #333333;
	line-height: 1.4em;
 	}

#container
{
	margin: 10px auto; /* bylo 10px 20px; /* bylo 10px 30px */
	width: 960px;
}

* {margin: 0; padding: 0;}

p {margin-bottom: 15px;}
a {color: #007DFB;}
a:hover {color: #000 ;}

h1 {margin-bottom: 10px; color: #0066CC; font-weight: normal; font-size: 2em; _margin-top: 2px;}
h2, h3, h4, h5, h6, h7 {margin-bottom: 2px; color:#0066CC; font-weight: normal; }
h2 {font-size: 1.4em;}
h3 {font-size: 1.3em;}
h4 {font-size: 1.2em;}
h5, h6, h7 {font-size: 1.1em;}

#obsahin .wiki table {
	border-collapse: collapse;
	border: 5px solid #B4D1F1;
	width: 95%;
/*	margin: 0 auto 15px auto;*/
	font-size: 1em;
	}
	#obsahin .wiki table td {
		border: 1px solid #B4D1F1;
		padding: 4px 6px;
		vertical-align: middle;
	}
	#obsahin .wiki table th {
		border: 1px solid #B4D1F1;
		padding: 4px 8px;
		color: #3080D8;
		font-size: 1.2em;
		vertical-align: middle;
		text-align: left;
	}

#obsahin .wiki table.invisible {
	border: none;
	width: 95%;
	margin: 0 auto 15px auto;
	font-size: 1em;
	}
	#obsahin .wiki table.invisible td {
		border: none;
		padding: 4px 8px;
		vertical-align: middle;
	}
	#obsahin .wiki table.invisible th {
		border: none;
		padding: 4px 10px;
		color: #3080D8;
		font-size: 1.2em;
		vertical-align: middle;
		text-align: left;
	}

#pag {background-color: #FFF; border: 1px solid #FFF; position: relative;}

#page {
	background: url(bg_page1.jpg) repeat-x; position: relative;
	}
#pagein {
	background: url(bg_page.jpg) no-repeat top right; position: relative;
		padding: 10px 25px;
	}
	
.clr {clear: both;}

hr {
  	border: 0;
   	color: #CCC;
	background-color: #CCC;
	height: 1px;
	margin-bottom: 10px;
}



#hlavicka {
	margin:0 0 12px 0;
	width:auto;
	border-bottom: 4px solid #0066CC;
	position: relative;
	height: 11em;
	}
#panel {
	height: 96px;
	top: 30px;
	position: relative;
	float: left;
				}
#kontakt {
	/*background:url(logo2.jpg) no-repeat right top;
	height: 96px;
	width: 100px;*/
	color: #001C55;
	padding: 10px 13px;
	line-height: 1.2em;
	position: relative;
	top: 22px; /* 30px */
	left: 13px;
	float: right;
	font-size: 1.1em;
		}
#navigace {
	padding: 3px 5px 0 5px;
	color: #003399;
	font-size: 0.8em;
	position: relative;
	margin-top: -13px;
	margin-bottom: 10px;
	border-bottom: 1px solid;
	border-bottom-color: #CCDDFF;
	padding-bottom: 2px;

		}
#navigace a:link, #kontakt a:link {
	color:#003399;
		}
#navigace a:visited, #kontakt a:visited {
	color:#003399;
		}
#navigace a:hover, #kontakt a:hover {
	color:#000066;
		}
#zivot_skoly, #skola_formalni  {
	width: 140px; /* puvodne 160px */
	margin:  0;
	padding: 0;
	height: auto;
		}
#zivot_skoly {
	float: left;
	position: relative;
		}
#skola_formalni {
	float: right;
	position: relative;
		}
#obsah {
	margin-right: 143px; /* puvodne oboje 163px */
	margin-left: 143px;
	height: auto;
	width: auto; 
	padding: 0 10px 15px 10px;
		}
		#obsah ul {
			margin: 0 0 15px 15px;
			}
	#obsahin {
		margin: 0 5px;
		_width: 97%; /* bez toho blbnou tabulky, ale se 100% vyteka prostredek dolu */
		_position: relative;
		}
#patka {
	padding-top: 15px;
	color: #333333;
	width: auto;
	border-top: 2px solid #CCC;
	text-align: center;
		}
	
/* ****** FORMALNI MENU ****** */	

.skola_formalni_menu {
	margin-bottom: 15px;
	}

#skola_formalni h3 {
	padding: 0 0 7px 5px;
	margin-bottom: 3px;
	border-bottom: 3px solid #0AA305;
	font-size: 18px;
	font-weight: normal;
	color: #0AA305;
	}
#skola_formalni ul {
	list-style-type: none;
	}
	#skola_formalni ul li {
		margin-bottom: 3px;
		padding-bottom: 3px;
		padding-left: 5px;
		border-bottom: 1px solid;
		border-bottom-color: #A0EB9C;
		position: relative;
		}
		#skola_formalni ul li a {
			text-decoration: none;
			color: #0AA305;
			}
		#skola_formalni ul li a:hover {
			text-decoration: underline;
			color: #0AA305;
			}
			
/* ****** ZIVOT SKOLY MENU ****** */	

#zivot_skoly h3 {
	padding: 0 0 7px 5px;
	margin-bottom: 3px;
	border-bottom: 3px solid #0066CC;
	font-size: 18px;
	font-weight: normal;
	color: #0066CC;
		}
#zivot_skoly ul {
	list-style-type: none;
	position: relative;
	}
	#zivot_skoly ul li {
		margin-bottom: 3px;
		padding-bottom: 3px;
		padding-left: 5px;
		border-bottom: 1px solid;
		border-bottom-color: #BBDDFF;
		position: relative;
		line-height: 1.4em;
		}
		#zivot_skoly ul li a {
			text-decoration: none;
			color: #0066CC;
			position: relative;
			}
		#zivot_skoly ul li a:hover {
			text-decoration: underline;
			color: #007DFB;
			}
		
/* ******** AKTUALITY ******** */

/*#aktuality h3 {
	color: #FF6600;
	border-bottom: 3px solid #FF6600;
	}

	#aktuality ul li {
		border-bottom: 1px solid;
		border-bottom-color:  #FFC097;
		}
		#aktuality ul li a {
			text-decoration: none;
			color: #FF6600;
			}
		#aktuality ul li a:hover {
			text-decoration: underline;
			color: #FF6600;
			}*/

#aktuality span {font-size: 0.9em;}



.obsah_nadpis {
	text-transform: capitalize;
	color: #333333;
}

dt
{
  font-weight: bold;
}

dd
{
  margin-left: 4em;
}


.zivot_skoly_menu, .administrace_menu
{
  margin-bottom: 15px;
}
	
ol li
{
  margin-left: 2em;
}

.wiki p
{
  text-align: justify;
}

.wiki_page img
{
  display: block;
  margin: 1em auto;
}

.wiki_page img.vlevo
{
  float: left;
  margin-right: 1em;
}

.wiki_page img.vpravo
{
  float: right;
  margin-left: 1em;
}

#panel img
{
  border: none;
}

.wiki_page
{
/*  overflow: auto;*/
}

.vystredit
{
  text-align: center;
}

blockquote
{
  margin-left: 2em;
}

.table
{
  overflow: auto;
  margin: 0 auto 15px auto;
}
