body{
font-family: Arial;
background:#b3e6ff;
}

table {
background:#E0FFFF;
border: 0px solid black;
width:100%;
}

td, th {
border: 0px solid black;
width:auto;
}

h1{ 
font-size:200%;
font-weight:bold;
text-align: center;
}

h2{
font-size:80%;
color: black;
text-align:center;
font-style: italic;
}
h0{
font-size:100%;
color:black;
text-align:center;
font-weight: bold;
}
p{
font-size:120%;
text-align: justify;
}
/* Slika domov */
.container {
  position: relative;
  max-width: auto;
  margin: 0 auto;
}

/* Domov na sliki */
.text-block {
  position: absolute;
  bottom:10px;
  left:0px;
  padding-left: 20px;
  padding-right: 20px;
}
/* Barva linkov */
a:link {
  color: #FAEBD7;
  background-color: transparent;
  text-decoration: none;
}
a:visited {
  color: #FAEBD7;
  background-color: transparent;
  text-decoration: none;
}
a:hover {
  color: red;
  background-color: transparent;
  text-decoration: underline;
}
/* Navigacija */
#mainNav
{
float: left;
margin: 0;
padding: 0;
width: 200px;
}

#mainNav ul
{
list-style: none;
margin: 0;
padding: 0;
border: none;
}

#mainNav li
{
display:block;
float: left;
text-align: left;
}

#mainNav a:link,#mainNav a:visited
{
color: black;
font-size:100%;
text-decoration: none;
margin: 0;
padding: 55px 0px;
letter-spacing: 0.1em;
text-align: center;
background: url(./slike/gumb_MI.jpg) center top no-repeat;
width: 200px;
display:block;
}

#mainNav a:hover, #mainNav a:active 
{ background: url(./slike/gumb1_MI.jpg) center top no-repeat;}

/* Širina nav. stolpca */
td.Nav{
	width:200px;
}
table.MI{
border: 0px solid black;
height:900px;
font-family: "Lucida Console";
}
td.MI{
border: 0px solid black;
height:auto;
width:auto;
font-family: AR CENA;
margin: 3px;
padding:15px;
}
.containerP {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.overlay {
  position: center; 
  bottom: 0; 
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1; 
  width: 355px;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 0px;
  text-align: center;
}

.containerP:hover .overlay {
  opacity: 1;
}