@import url(http://fonts.googleapis.com/css?family=EB+Garamond);

@font-face {
  font-family: local_Garamond;
  src: url(../font/garamond.ttf);
  font-style: normal;
}

@font-face {
  font-family: local_Garamond;
  src: url(../font/garamond_bold.ttf);
  font-weight: bold;
}

@font-face {
  font-family: local_Garamond;
  src: url(../font/garamond_italic.ttf);
  font-style: italic;
}

root { 
    display: block;
}

body {
  -webkit-font-smoothing: antialiased;
  background-color: rgb(222,222,222);
  font-family: Garamond, local_Garamond, EB Garamond, Georgia, serif; 
}

a {
  color: rgb(80, 80, 80);
}

p.text {
  font-size: 1.25em;
}

#page {
  margin: 0 auto;
  margin-bottom: 2em;
  max-width: 55em;
  min-height: 25em;
  min-width: 47em;
  box-shadow: rgb(70,70,70) 0.3em 0.3em 2.5em;
  border-radius: 1.1em;
  background-color: menu;
  
}

#header {
  background-color: rgb(150,150,150);
  min-height: 13em;
  margin-top: 1.5em;
  max-width: 55em;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  padding-bottom: 1em; 
}

#menu {
  background-color: white;
  border-top: 0.3em solid rgb(163,163,163);
  border-bottom: 0.3em solid rgb(163,163,163);
  height: 2.5em;
  padding-top: 0.4em; 
}

#menu span.items {
  font-size: 1.7em;
  margin-left: 1em;
}

span.mProjekt a {
  padding-left: 0.2em;
  padding-right: 0.2em;
}

span.mPriklad a {
  margin-left: 1em;
  padding-left: 1em;
  padding-right: 1em;
}

span.mProjekt a:hover {
  padding: 0.7em 0.2em 0.7em 0.2em;
}

span.mPriklad a:hover {
  padding: 0.7em 1em 0.7em 1em;
}  

#menu a:hover {
  background-color: rgb(180, 180, 180);
  color: white;
}


#content {  
  min-height: 12em;
  padding: 1em 1.5em 3em 1.5em;
}

#footer {
  padding-top: 0.5em;
  min-height: 2em;
  background-color: gray;
  text-align: center;
  border-bottom-right-radius: 1em;
  border-bottom-left-radius: 1em;
}

p.fagin_alg_title {
    font-size: 3.5em;
    margin-left: 0.5em;
    padding-top: 0.5em;    
}

p.fagin_alg_title a {
  text-decoration: none;
  color: white;
}

p.fagin_alg_title a:hover {
  color: black;
}

p.autors {
    float: right;
    font-size: 1.7em;
    margin-top: -2em;
    margin-right: 2.5em;    
}

p.project {
    font-size: 1.2em;
    float: right;
    margin-right: 1.4em;
    color: white;
}

dl.contact {
  margin-top: -1.3em;
  margin-left: 1.9em;
  color: black;
  background-color: rgb(230,230,230);
  width: 13em;
  padding: 0.5em;
  border-radius: 0.8em;
  float: left; 
}

dl.contact dt {
  font-size: 1.3em;
}

dl.contact a:hover {
  color: rgb(0,128,240);  
}

#subject {
  color: white;
  width: 17em;
  font-size: 1.25em;
  float: right;
  margin-right: 1.7em;
}

#subject span {
  float: right;
  padding-right: 0.5em;
}

#footerText {
  color: white;
  text-align: center;
  font-size: 1.25em;
}

#footerText a {
  color: black;
}

#footerText a:hover {
  color: rgb(208,240,255);
}

#control {
    border: 0.1em solid;
    border-color: grey;
    background-color: rgb(250,250,250);
    border-radius: 0.8em;
    margin: 0 auto;
    width: 65%;
    margin-bottom: 1em;
}

#control .prvky {
    text-align: center;
    margin-left: -0.6em;
    margin-top: 0.5em;
}

#control .prvky input {
    margin: 0.5em;   
}

#control .prvky2 {
    text-align: center;
    margin-bottom: 1em;
    margin-top: 0.5em;
}

#vypocti {
    width: 7em;
    font-size: 1.1em;
    margin-left: 1em;
}

#tabulka {
    margin-top: 2em;
}

#tabulka .t {
   width: 40em;
   border: 2px ridge;
   margin: 0 auto;
   font-size: 1.1em;
   background-color: rgb(250,250,250);
}

#tabulka .t tr {
    height: 1.5em;
}

#tabulka .t td {
    border: 0.1em solid;
    border-color: grey;
    text-align: right;
    padding-right: 0.5em;
    background-color: white;
}

#dialog {
    font-size: 0.7em;
    box-shadow: black 0 0 20em;
}

div.figure {
  text-align: center;
}

div.figure img {
  max-width: 80%;
  padding-bottom: 1em;
}

#banner {
  text-align: center;
}