
/* Reset */
* {
  border: 0;
  margin: 0;
  padding: 0;
  text-indent: 0;
  }

h1, h2, h3 {
  margin: 0;
  padding: 0;
  }

a img { border: 0; }
ul, ol { list-style: none; }
table, td, th { border: 0; font-size: 1em; font-weight: normal; }
/* Reset_end */


/* --- rozvrzeni stranky --- */
body {
  background: #e5e5e5;
  font: normal normal 0.7em tahoma, arial, verdana, sans-serif, helvetica; /* kurziva tucnost velikost rodina-pisma */
  letter-spacing: .1em;
  line-height: 1.7;
  margin: 0;
  padding: 0; 
  text-align: center; /* vycentrovani hlavniho divu pro IE */
  }

#all {
  background: #fafafa;
  border: 2px solid black ;
  height: auto;
  margin: 10px auto 10px auto; /* vnejsi okraj: horni pravy spodni levy */
  padding-bottom: 8px; 
  padding-top: 8px; /* odsazeni divu #hlavni zvrchu a zespodu - nutne definovat prave zde */
  text-align: left;
  width: 740px;  //sirka
  }

#hlavni {
  border: 1px solid black;
  margin: 0 8px 0 8px;
  width: auto;
  height: auto;
  }

#hlavicka {
  width: auto;
  height: 110px;
  background: #ccc;
  border-bottom: 1px solid black;
  text-align: center;
  }

#obsah {
  width: auto;
  min-height: 400px;
  margin: 5px 15px 0 15px;
  padding-bottom: 5px;
  }

#sidebar {
  
  display: inline;
  float: left;
  width: 180px;
  height: auto;
  min-height: 300px;
  border-right: 1px solid black;
  margin-bottom: 5px; /* odsazeni od paticky pro IE */
  
  }

#content {
  padding: 0 0 0 195px;
  }

#paticka {
  clear: both;
  width: auto;
  height: auto;
  padding: 5px 0 5px 0;
  border-top: 1px solid black;
  text-align: center;
  }
/* --- rozvrzeni stranky smitec --- */



/* --- seznamy - menu a paticka --- */
#sidebar ul { margin-right: 15px; 
				  font-size: 1.2em;
				  font-weight: bold;
					
} 

#sidebar ul li { display: inline; } /* opet osetreni IE */

#sidebar ul li a { 
  display: block;
  color: black; 
  width: auto;
  padding: 2px 0 2px 0px;
  }

#sidebar ul li a:hover { color: white; }

#paticka ul li { 
  display: inline; /* z blokoveho seznamu je radkovy */
  font-size: 0.9em;
  }
/* --- seznam v paticce --- */



/* --- nadpisy --- */
h1 { 
  font-weight: bold; 
  font-size: 1.4em; 
  padding-top: 50px; /* od oka vertikalne zacentrujem :) - nelze marginem */
  }

h1 a {
  color: #008000;
  text-decoration: none;
  }

h1 a:hover {
  color: black; 
  background: transparent;
  }

#content h2, #sidebar h2 {
  font-size: 1.4em;
  font-weight: bold;
  padding: 5px 0 5px 0;
  }

#sidebar h2 {
  color: #008000;
  }
/* --- nadpisy  smitec--- */



/* --- formatovani textu a odkazu --- */
a {
  text-decoration: none;
  padding: 1px;
  color: #CE0005; 
  }
  
a:hover {
  text-decoration: underline;
  background: #CE0005;
  color: white;
  }
  
p { 
  text-align: justify; 
  padding: 0.5em 0 0.5em 0; 
  text-indent: 1em;
  }
/* --- formatovani textu a odkazu --- */


