/* styly - diplomka */

* {margin: 0; padding:0}

h1, h2, h3, h4, h5 { 
    color: #800000; 
    font-family: sans-serif; 
    margin-top: 0.8em;
    margin-bottom: 0.1em;
    padding-bottom: 0.2em;
    clear: both;
}

p.subtitle {
  color: #800000; 
  font-family: sans-serif;
  font-weight: bold; 
  margin-top: 0.8em;
  margin-bottom: 0.5em;
  text-indent: 0;
  font-size: 1.2em; 
  }
  
span.term { 
    font-weight: bold; 
}

pre.programlisting { 
    background: #F0F0F0; 
    border: 1px solid gray; 
    padding: 2px; 
    font-size: 10pt;
    white-space: pre;
}


dl dl {margin-left: 1.5em} 

ol p, ul p {
  /* */
    margin-top: 3px;
  	margin-bottom: 3px;}

a:link {text-decoration: none; color: #1874CD;}
a:visited {text-decoration: none; color: #1874CD;}
div.informalexample a:link, div.important a:link, div.e_task a:link, div.e_solution a:link, div.e_answer a:link {text-decoration: none; color: #800080;}
div.informalexample a:visited, div.important a:visited, div.e_task a:visited, div.e_solution a:visited, div.e_answer a:visited {text-decoration: none; color: #800080;}

p.vzorec_def {text-align: center; color: #000080; font-weight: bold; }

/* styly pro tabulky */
table.rovnice {
  padding-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  }

div.informaltable table {
  padding-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-width: 0px;
  }

table.center {
  margin-left: auto;
  margin-right: auto;
  border-width: 0px;
  margin-bottom: 0.5em;
  }
  
table.symboly {
  margin-left: -4em;
  }
  
div.informaltable table td {
  border-width: 0px;
}

table.text, table.symboly {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  }

table.text td {
  padding: 0.3em;
  }
  
table table {
  padding-bottom: 0em;
  }
 
table.symboly td.odsazena_tt {
  padding-top: 0.7em;
}

table.vypocet {
  margin-left: 0em;
  padding-bottom: 0em;
  }

table.vypocet col.pravy {text-align: right; }

table.vypocet col.levy {text-align: left;}

table.vypocet td {vertical-align: middle;}

div.informaltable td.podtrzena {
  margin-top: 0;
  margin-bottom: 0em;
  border-bottom: 1px solid black; 
  border-right: 0em none;
  }
  
div.informaltable td.vypocet {padding: 0.5em 0.5em 0em 0.5em;}

div.informaltable td.vypocet table{margin-bottom: -1.5em;}

table td.odsazena{padding-left: 1em;}

table td.odsazena_t {padding-top: 0.5em;}

table td.odsazena_b {padding-bottom: 0.5em;}

table td.odsazena_tt {padding-top: 1em;}

table td.odsazena_ttt {padding-top: 1.5em;}

table td.odsazena_bb {padding-bottom: 1.2em;}    

table td.odsazena_tb {
  padding-top: 0.5em; 
  padding-bottom: 0.5em;}

table td.odsazena_tl {
  padding-top: 0.5em;
  padding-left: 1em;}
    
table td.odsazena_tbl {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;}

table.zvyrazneni{
  margin-left: 1.8em;
  }
  
/* styly pro definice = obalit tip*/
div.definition, div.informalexample, div.blockquote, div.important, div.note {
  margin: 1em 2.1em 1em 2.1em;
  padding: 0.5em; 
}

div.definition p, div.informalexample p, div.blockquote p, div.important p, div.note p {text-indent: 0em; color: black;}

div.definition {
  border: 2px outset #cc9900; 
  background: url(obrazky/vykricnik.gif) no-repeat 0.5em 0.6em #FFF68F; 
  padding-left: 56px;
  min-height: 56px;
  }
  
div.definition h3 {display: none;
  }
  
/* styly pro věty */  
div.blockquote {
  border: 2px outset #565656;; 
  background: url(obrazky/pocitadlo_1.gif) no-repeat 0.3em 0.8em #E5E5E5;
  padding-left: 50px;
  }
  
div.blockquote p{
  text-indent: 0em;
  }

ul div.blockquote {
  margin-left: 0;
  }
  
/* styly pro informalexample */

div.informalexample {
  background: url(obrazky/mouse_1.gif) no-repeat 0.2em center #c7e4fc;
  min-height: 56px;
  padding-left: 67px;
  border: 2px outset #104E8B; 
}

div.informalexample p{
 margin-top: 0.2em;
 margin-bottom: 0.2em;
}

/* styly pro důležité */

div.important {
  border: 2px outset #009ACD;
  background: url(obrazky/important.gif) repeat-y #9999ff ;
  }
  
div.note {
  border: 2px outset purple;
  background: url(obrazky/note.gif) repeat-y #f29fcb;
  }

/* poznámky */
div.note h3, div.important h3 {
padding-top: 0em;
padding-top: 0em;
margin-top: 0.5em;
margin-bottom: 0em;
color: #cc0033;

  }
  
/* highlights */
div.highlights {
    margin-top: 1em;  
}

div.highlights p{
  float: left; 
  width: 150px;  
  height: 56px; 
  margin-top: 1em;
  padding-left: 4.5em; 
  text-align: left;
  text-indent: 0em;  
}

div.highlights p.teorie{ 
  background: url(obrazky/knihy.gif) no-repeat; 
  width: 130px;  
  padding-left: 5.3em; 
  padding-top: 1.2em; 
}

div.highlights p.rp{ 
  background: url(obrazky/otaznik_1.gif) no-repeat;
  padding-left: 4.7em;   
  padding-top: 1.2em; 
}

div.highlights p.pkp{ 
  background: url(obrazky/kalkulacka_1.gif) no-repeat;
  padding-top: 1.2em;      
}  

p.kniha {
  height: 56px;
  background: url(obrazky/knihy.gif) no-repeat right top; 
  margin-top: -6em; 
}

p.otaznik {
  height: 56px;
  background: url(obrazky/otaznik_1.gif) no-repeat right top; 
  margin-top: -6em; 
}

p.kalkulacka {
  height: 56px;
  background: url(obrazky/kalkulacka_1.gif) no-repeat right top; 
  margin-top: -6em; 
}
/* styly pro příklady */

div.example {
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #c7e4fc !important;
  }
div.example-contents {
  background-color: #c7e4fc !important;
}
div.example-contents .e_solution *, div.example-contents .e_answer {
  display: none
}

div.example-contents div.e_solution p.reseni {
  display: block; 
  cursor: pointer;
  background: url(images/closed_mini.gif) no-repeat 2px 8px #8484FF;
  padding-left: 20px;
} 
div.example-contents div.e_solution p.reseni a {
  display: inline
  }

div.example-contents_max div.e_solution_max p.reseni {
  display: block; 
  cursor: pointer;
  background: url("images/open_mini.gif") no-repeat 2px 8px #8484FF;
  padding-left: 20px;
} 

div.example-contents_max .e_answer {
  display: block
}


div.example p.title{
  background-color: #8484FF; 
  padding: 0.5em; 
  margin-bottom:0
  }
  
div.e_task {
  background: url(obrazky/otaznik_1.gif) no-repeat 0.1em center #c7e4fc;
  min-height: 56px;
  padding: 0.5em 1em 0.5em 5.5em;
  text-align: left;
  font-weight: bold; 
 
}
.e_task p { text-indent: 0; }
div.e_solution, div.e_solution_max {
  background: url(obrazky/zarovka_1.gif) no-repeat 0.5em 2.8em #c7e4fc;
  
  }
div.e_solution_max  {
  padding-bottom: 0.5em;
}  
p.reseni {
  font-weight: bold;
  background-color: #8484FF;
  padding: 0.5em; 
  text-indent: 0em;
  height: 1.5em;
  } 

p.pr_rz, p.pr_rz_last {margin: 0 1em 0 5em;}

p.pr_rz_last {
  border-bottom: 1px solid black; 
  padding-bottom: 0.2em;
  margin-bottom: 0.8em;
  }

p.pr_rz_last_i_first {
  margin: 0 1em 0 5em;
  border-bottom: 1px solid black; 
  padding: 2.5em 0em 0.5em 0em;
  margin-bottom: 0.8em;
  }

div.e_answer {background: #8484FF;}

div.e_answer p {  
  padding: 0.5em;
  text-indent: 0em; 
  }
  
div.example-contents {background-color: #c7e4fc;}

div.example-contents_max ul, div.example-contents_max ol { 
  margin-left: 1em;
  padding-left: 2em;
  }
 div.example-contents_max ol {
   margin-right: 1em; 
    
 }
p.postup {
  background: #8484FF;
  padding: 0.2em;
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  }
  
p.odsazeny {
  margin-left: 1em;
  }
  
div.e_solution div.informaltable table{
  margin-left: -0.6em;
  }
  

/* div.example-contents a {
  color: black;
  text-decoration: none;
  }

div.example-contents a:hover {text-decoration: underline; background-color: #8484FF; } */

table.symboly {
  margin-left: 0em;
  }

.left {float: left; margin-right: 2em; margin-bottom: 0.5em;}

.konec_plovouci {clear: both;}

em.firstterm {color: #104E8B; font-weight: bold; font-style: normal;}

em.replaceable {font-size: 9pt; font-style: normal; color: red; }

sub { vertical-align: -0.5em;} 

sup em.nad {margin-left: -0.35em;}

span.inlinemediaobject img {vertical-align: middle;}

em.vel {color: #cc0033; font-weight: bold; font-style: normal;}

em.zn {color: #000080; font-weight: bold; font-style: normal;}

em.blue {color: #104E8B; font-style: normal; }

span.part a, span.bibliography a, span.preface a {color: #cc0033; font-weight: bold;}

/* span.times {font-family: Times New Roman; } */

/* span.vysl {text-decoration: underline; border-bottom: 1px solid; padding-bottom: 2px; // or 3px} */

em.vysl {text-decoration: underline; border-bottom: 1px double; padding-bottom: 2px; font-style: normal;} 

em.inline_vzorec_def {color: #000080; font-weight: bold; font-style: normal;}

em.modre_pozadi {background-color: #c7e4fc; font-style: normal; }
em.modre_pozadi a:link {text-decoration: none; color: #800080;}
em.modre_pozadi a:visited {text-decoration: none; color: #800080;}
/* nove styly pro rovnice */

div.equation {
  margin: 0.5em;
  margin-left: 3em;
  vertical-align: middle; 
}

div.equation div {
  text-align:center;
  }

div.equation img, span.inlineequation img {
  border: 0px none;
  vertical-align: middle;
  }
  
table div.inlineequation {
  padding-left: 0em;
  }
  
div.eq_number {
  float: right; 
  width: 3em;
  } 
 
div.clearer {
  float: none; 
  font-size: 0; 
  clear: both}
  
div.otazka {
  border: 1px #929292 solid;
  padding: 0.5em 0.5em 2.5em 0.5em;
  margin-bottom: 2em;
}

div.otazka hr {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

span.spatne  {
  color: red;
}

span.spravne  {
  color: #00cc33;
}



div.zpetna_vazba, div.zkontrolovat, div.dalsi {
  float: left; 
  width: 205px;
    
}

div.zpetna_vazba {text-align: center;}

div.dalsi {text-align: right;}

div.menu-top {
padding-left: 2.2em;}
