h1
{
font-size: 1.7em;
}

h2
{
font-size: 1.4em;
}

h3
{
font-size: 1.2em;
}

h4
{
font-size: 1em;
}

.author
{
font-size: 1em;
}

a>img
{ 
border: 0
}

div.preface>p
{ 
text-align: justify; 
}

div.chapter>p, div.section>pre, div.ikona,div.e-time,div.e-algorithm, div.e-animation, div.e-java-animation, div.e-goal, div.e-definition ,div.e-important, div.e-flash-animation, div.e-thinking, div.e-note, div.e-example, div.e-solution, div.e-summary, div.e-work, div.e-file, pre.e-listings, div.e-prg-info, div.chapter>div.orderedlist, div.chapter>div.itemizedlist, div.chapter>div.variablelist {
width: auto;
/*background: yellow;*/
margin-top: 10px;
margin-left: 110px;
margin-right: 110px;
/*border: 1px dashed blue;*/
text-align: justify;
}



/*vsechny bezprostredni potomky v sekci odsadime*/
div.section>* {
width: auto;
/*background: yellow;*/
margin-top: 10px;
margin-left: 110px;
margin-right: 110px;
/*border: 1px dashed blue;*/
text-align: justify;
}

/*zanorene sekce se nebudou odsazovat*/
.section .section
{
margin-left: 0;
margin-right: 0;
background: none;
border: none;
}

div.ikona
{
border: none;
background: none;
float: left;
margin: 7px 0px 0px 30px;
}

div.e-algorithm, div.e-animation, div.e-java-animation, div.e-time,div.e-goal, div.e-definition ,div.e-important, div.e-flash-animation, div.e-thinking, div.e-note, div.e-example, div.e-solution, div.e-summary, div.e-work, div.e-file, div.e-prg-info
{
width: auto;
background: #ffcad0;
border: 1px solid red;
margin-top: 7px;
margin-bottom: 30px;
margin-right: 110px;
padding: 10px 10px 10px 10px;
}

div.e-time
{ 
margin-bottom: 0px;
}

pre.e-code, div.ikona p,div.e-time p,div.e-algorithm p, div.e-animation p, div.e-java-animation p, div.e-time p,div.e-goal p, div.e-definition p,div.e-important p, div.e-flash-animation p, div.e-thinking p, div.e-note p, div.e-example p, div.e-solution p, div.e-summary p, div.e-work p, div.e-file p, pre.e-listings p, div.e-prg-info p
{ 
margin: 0;
padding: 7px 0 7px 0;
}


div.e-algorithm, pre.programlisting
{
background: #f5f5f5;
border: 1px solid #008000;
}

div.e-animation
{
background: #ffff8d;
border: 1px solid #0066ff;
}

div.e-java-animation
{
background: #ffff8d;
border: 1px solid #0066ff;
}

div.e-time
{
background: #e7c5eb;
border: 1px solid #0066cc;
}

div.e-goal
{
background: #c2dce4;
border: 1px solid #000066;
}

div.e-definition
{
background: #fffafa;
border: 1px solid #ff0000;
}

div.e-important
{
background: #ffdfef;
border: 1px solid #ff0000;
}

div.e-flash-animation
{
background: #ffff8d;
border: 1px solid #0066ff;
}

div.e-thinking
{
background: #b0e0e6;
border: 1px solid #0033cc;
}

div.e-note
{
background: #bbffbb;
border: 1px solid #000000;
}

div.e-example
{
background: #efffef;
border: 1px solid #339900;
}

div.e-solution
{
background: #fffaf0;
border: 1px solid #009900;
}

div.e-summary
{
background: #ffaaff;
border: 1px solid #000000;
}


div.e-work
{
background: #dbff91;
border: 1px solid #00cc66;
}

div.e-file
{
background: #fff5ee;
border: 1px solid #0033cc;
}


div.mediaobject
{
text-align: center;
width: 100%;
}


div.mediaobject table
{
text-align: center;
width: 100%;
}

table 
{
margin: 0 auto;
}

.variablelist table, .calloutlist table, .segmentedlist table
{
 margin: 0;
}

.guimenu, .guisubmenu, .guimenuitem 
{
 font-weight: bold;
}


/*vypisy kodu*/
pre.programlisting
{
display: block;
width: auto;
background: #f9dfff;
border: 1px dashed blue;
margin-right: 110px;
padding: 10px;
}


/*div[class="titlepage"]*/

div.titlepage
{
/*background: red;*/
margin-left: 0px;
}


pre.e-listings>strong.title
{ 
  display:block;
  font-family: serif;
  font-size: 12pt;
  margin-bottom: 10px;
}

pre.e-listings
{
padding: 12px 12px 12px 12px;
width: auto;
background:  #f9f9f9;
border: 1px solid blue;
margin-top: 27px;
margin-right: 110px;
font-family: monospace;
/*white-space: pre;*/
}

div.e-prg-info
{
background:  #f9f9f9;
border: 1px solid blue;
}


span.numbering
{
color: black;
padding-right: 30px;
font-weight: bold;
}


div.navheader
{
background: #ced1ff;
margin-left: 0px;
}

div.navfooter
{
margin-top: 20px;
background: #ced1ff;
margin-left: 0px;
}

div.spacer {
margin-left: 0px;
height: 10px;
border: none;
background: none;
}


pre.screen 
{ 
 background: #ececec;
 border: 1px solid #0066FF;
 padding: 3px 3px 3px 3px;
}


div.xref-solution
{
margin-top: 15px;
border-top: 1px solid black;
}


div.e-example strong.e-example
{
margin-bottom: 10px;
display: block;
}

.variablelist table td, .variablelist table th 
{
  vertical-align: top;
}

.variablelist table td span
{ 
  padding-top: 5px;
}

.variablelist table td p 
{
 margin: 0;
 padding: 0;
}

p.title
{ 
  text-align: center;
}


div.itemizedlist p.title, div.orderedlist p.title, div.variablelist p.title
{ 
  text-align: left;
}




/* C/C++ */
      span.builtin {
        /* font-lock-builtin-face */
        color: orange;
      }
      span.comment {
        /* font-lock-comment-face */
        color: gray;
      }
      span.constant {
        /* font-lock-constant-face */
        color: #ff0051;
      }
      span.function-name {
        /* font-lock-function-name-face */
        color: blue;
      }
      span.keyword {
        /* font-lock-keyword-face */
        color: brown;
      }
      span.string {
        /* font-lock-string-face */
        color: green;
      }
      span.type {
        /* font-lock-type-face */
        color: #7b61ff;
      }
      span.variable-name {
        /* font-lock-variable-name-face */
        color: #1ec2fe;
      }



/*LaTeX*/

      span.bold {
        /* bold */
        font-weight: bold;
      }
      span.builtin {
        /* font-lock-builtin-face */

      }
      span.comment {
        /* font-lock-comment-face */

      }
      span.constant {
        /* font-lock-constant-face */

      }
      span.function-name {
        /* font-lock-function-name-face */

      }
      span.italic {
        /* italic */
        font-style: italic;
      }
      span.keyword {
        /* font-lock-keyword-face */

      }
      span.string {
        /* font-lock-string-face */

      }
      span.tex-math {
        color: red;
      }
      span.variable-name {
        /* font-lock-variable-name-face */

      }
      span.warning {
        /* font-lock-warning-face */
        color: #ffc0cb;
        font-weight: bold;
      }
