body {

    font-family: Verdana, Geneva, sans-serif;    
    margin: auto;
    width:960px;
    background-color: silver;

     }

.topmenu {

  display: block;
  background-color: silver;
  width: 960px;
  height: 48px;
  margin: auto;
  position: fixed;
  box-shadow: 0px 3px 15px 3px #888888;
  z-index: 1;
    }

#shadow {

    border: 0px solid;
    padding: 0px;
    box-shadow: 0px 3px 15px 3px #888888;

         }

.predmet {

    font-weight:bold;  
    color: #f1f1f1;
    font-size: 20px;
    padding: 11px 16px;
    float: right;
    text-shadow: 2px 2px gray;

        } 

a.button {

  display: block;
  background-color: black;
  border-right:1px solid white;    
  color: white;
  text-decoration: none;
  padding: 14px 16px;
  float: left;
  overflow: hidden;
  height:20px;
  -webkit-transition-duration: 0.2s; /* Safari */
  transition-duration: 0.2s;
       } 

a.button:hover { background-color: #555; }
a.button:active { background-color: #4CAF50;}

a.button-active {

  display: block;
  background-color: #4CAF50;
  border-right:1px solid white;    
  color: white;
  text-decoration: none;
  padding: 14px 16px;
  float: left;
  overflow: hidden;
  height:20px;
              }

a.tl {
  display: inline-block;
  color: black;
  font-weight: 500;
  font-size: 0.8em;
  text-decoration: none;
  user-select: none;
  padding: .1em 0.5em;
  outline: none;
  border: 1px solid;
  border-radius: 2px;
  transition: 0.2s;
  background: linear-gradient(rgb(255,255,255), rgb(240,240,240));
} 
a.tl:hover { background: rgba(255,255,255,.2); }
a.tl:active { background: white;}


.nadpis {

    display: block;
    color: white;
    background-color: #4CAF50;
    padding: 8px 16px;
    text-decoration: none;
    font-weight:normal;

    	}
h1 {
    color:#4CAF50;
    font-weight:normal;
   }    
h2 {color:white; Font-weight:bold;}
h3 {
    color:#4CAF50;
    font-weight:bold;
   }    


ul {

    list-style-type: none;
    margin-top: 68px;
    padding: 0;
    width: 200px;
    background-color: #f1f1f1;
    position: fixed;
    height: 100%;
    overflow: auto;
    border-top:1px solid white;
    font-size:0.8em; 
}

li a {

    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
}

li a.active {
    background-color: #4CAF50;
    color: white;
}

li a:hover:not(.active) {
    background-color: #555;
    color: white;
}

.hlavny {

      background-color: white;
      height: auto;
        }

.podklady {

	margin-left:200px;
	padding:58px 16px 0 20px;
	height:auto;
	background-color: white;
      }

.okraje  {

      padding:68px 16px 10px 20px;
        }  

.stred  {

          text-align: center;
        }  

.pic {

     display: block;
     border-radius:10px;
     width:650px;
     margin: auto;
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
     }


.tab {

    overflow: hidden;
}

.tab button {
    background-color: inherit;
    float: left;
    border: 1px solid #ccc;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    width:51px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #4CAF50;
    color:white;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

.tooltip {
    position: relative;
    display: inline-block;
    background-color:#ddd;
    padding: 5px 10px;
    border-bottom: 1px dotted black;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 520px;
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    margin-left:-260px;
    opacity: 0;
    transition: opacity 0.3s;
   }
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}



.kacadtooltip {
    position: relative;
    display: inline-block;
    background-color:#4CAF50;
    font-weight:normal;
    color:white;
    padding: 5px 10px;
    cursor: pointer;
}

.kacadtooltip .kacadtooltiptext {
    visibility: hidden;
    width: 600px;
    background-color: #f2f2f2;
    color: black;
    text-align: center;
    border: 1px solid black;
    border-radius: 15px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    opacity: 0;
    transition: opacity 0.3s;
   }
.kacadtooltip:hover {
    background-color:black;
  }
.kacadtooltip:hover .kacadtooltiptext {
    visibility: visible;
    opacity: 1;
}

.right {
    margin-left:-100px;
    }

.stred {
    margin-left:-300px;
    }

.left {
    margin-left:-500px;
    }
