@import url('https://fonts.googleapis.com/css?family=Pacifico');

body {
font-family: Calibri, Verdana, sans-serif;
background-image: url(interlaced.png);
background-repeat: repeat;
width: 1400px;
margin: auto;
border: groove 10px;
}

ul {
background-color: rgb(255,204,51);
padding: 5px 0px;
margin: 0;
text-align: center;
 list-style: none;

}
ul li {
display: inline;
/*list-style-type: none;*/
margin: 0;
/*width: 100%;*/
position: relative;

}
ul li a {
color: #000;
padding: 5px 10px;
}
ul li a:link {
text-decoration: none;
}
ul li a:hover {
color: #fff;
background-color: rgb(153,0,0);
}


 ul ul {
        display: none;
        background-color: rgb(255,255,102);
        padding: 0;
      }
      ul ul li {
        display: block;
        margin: 0;
      }
      ul li:hover ul {
        display: block;
        position: absolute;
        width: auto;
        top: 1.3em;
        left: 0;
        z-index: 5;
      }
 ul ul a {
        display: block;
      }
      
 ul ul a:hover {
        color: #fff;
        background-color: rgb(255,153,0);
      }     


form div label {
display: inline-block;
width: 150px;
text-align: right;
padding-right: 10px;
}
form input[type=submit][value~="Odeslat"] {
margin-left: 164px;
}
form input[required] {
background-color: rgb(255,255,153);
}

table {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: separate;
margin: auto;
/*width: 90%;*/
}

td, th {
border: 1px solid #ddd;
padding: 8px;
}
tr:nth-child(even){background-color: #f2f2f2;}
tr:hover {background-color: #ddd;}
th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: rgb(255,204,51);
color: black; }

form {
margin-top: 10px;
margin-bottom: 10px;
}

img
{
position: absolute;
right: 0px;
top: 0px;
width: 150px;
height: 62px;

}
h1{
margin: 0 auto;
/*font-family: 'Bahnschrift Condensed';*/
font-family: 'Pacifico', cursive;
font-variant: small-caps;
/*font-style: italic;*/
text-align: center;
font-size: xx-large;

/*display:block;
background-color: rgb(232,232,232);

padding-top: 5px;
border-width: 10px 10px 0px 10px;
border-style: solid solid none solid;
border-color: rgb(255,204,51);*/
}
h2{
font-family: 'Bahnschrift Condensed';
}
form label
{
font-weight: bold;
}

/*section a:link {
    background-color: yellow;
}

section a:visited {
    background-color: cyan;
}

section a:hover {
    background-color: lightgreen;
}

section a:active {
    background-color: hotpink;
}*/

.smazani:hover{
color: red;
}

/*.fil:hover{
    font-size: large;
    color: rgb(0,102,0);
}*/

#tablica
{
width: 800px;
}