body{
  margin: 0 auto;
  font-family: Verdana;
  background-color: #eee;
  font-size: 14px;
  color: black;
}
#page{
  margin: 0 auto;
  width: 1000px;
  height: auto;
  min-height: 600px;
  overflow: auto;
}

                                                /*              HEADER            */

header{
  background-color: black;
  height: 16px;
  width: 980px;
  padding: 7px 10px;
  float: left;
  overflow: hidden;
  color: white;
  text-align: right;
}
header a{
  color: white;
}

      
                                                /*              NAV               */

nav{
  background-color: black;
  height: 30px;
  width: 1000px;
  float: left;
  overflow: hidden;
}
nav a{
  display: inline-block;
  height: 20px;
  width: 100%;
  padding: 5px 0;
  color: white; 
  transition: 100ms;
  margin: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
nav a:hover{
  background-color: white;
  color: black;
  transition: 100ms;
  text-decoration: none;
}
nav a.active{
  background-color: white;
  color: black;
}
nav ul{
  margin: 0;
  float: left;
  padding: 0;
  width: 100%;
  list-style:none;
  font-size: 16px;
}
nav ul li{
  float: left;
  display: block;
  list-style-type: none;
  text-align: center;
  margin: 0;
  padding: 0;
  width: 20%;
}


                                                /*              MAIN               */

main{
  padding: 30px 10px;
  overflow: hidden;
  float: left;
  height: auto;
  min-height: 450px;
  width: 980px;
  background-color: white;
}
main table{
  margin: 0 auto;
  clear: both;
}
main table tr th{
  text-align: right;
  padding-right: 10px;
  height: 25px;
}

table#vypis{                                    /* vypis*/
  overflow: hidden;
  border-bottom: 1px solid #eee; 
  width: 980px;
}
table#vypis tr{
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}
table#vypis tr.even{
  background-color: #eee;
}
table#vypis tr.basic{
  cursor: pointer;
  transition: 100ms;
}
table#vypis tr.basic:hover{
  background-color: #ccc;
  transition: 100ms;
}
table#vypis tr th{
  background-color: black;
  color: white;
  padding: 5px 4px 5px 5px;
  text-align: center;
  font-weight: bold;
  border-right: 1px solid #888;
}
table#vypis tr th:last-of-type{
  border: none;
  padding-right: 5px;
}
table#vypis tr th a{
  color: white;
  display: block;
  text-decoration: none;
}
table#vypis tr td{
  padding: 5px;
}
                                                /* extend */
table#vypis table.extend{ 
  float: right;
}
table#vypis table.extend tr{
  border: none;
}
table#vypis table.extend tr th{
  border: none;
  padding: 5px;
  font-weight: normal;
  text-align: right;
  background-color: transparent;
  color: black;
}
table#vypis table.extend td.buttons{
  padding: 0;
  height: 100%;
}
table#vypis table.extend button{
  background-color: transparent;
  border: none;
  height: 100%;
  width: 100%;
  cursor: pointer;
  font-size: 15px;
  transition: 100ms;
  padding: 0;
}
table#vypis table.extend button:hover{
  background-color: #ccc;
  transition: 100ms;
}


#vypis tr.extend{
  display: none;
}

table.difflines tr:nth-child(even){
  background-color: #eee;
}

table.schvalit{
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  width: 100%;
  float: left;
  clear: left;
  overflow: auto;
}


footer{
  float: left;
  clear: left;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 20px 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.7em;
}
footer div{
  height: auto;
  width: 33.3333%;
  float: left;
}

                                               /*         GLOBÁLNÍ TŘÍDY          */

.error, .done{
  padding: 5px 15px;
  margin: 10px 0;
  font-size: 14px;
  border-radius: 3px;
  overflow: hidden;
  float: left;
  clear: left;
  width: 950px;
}
.error{
  border: 1px solid red;
  color: red; 
}
.done{
  border: 1px solid green;
  color: green;
}
td.right{
  text-align: right;
}
td.center{
  text-align: center;
}
select.num{
  width: 45px;
}
ul li label{
  display: inline-block;
  width: 100px;
}
.ano{
  color: green;
}
.ne{
  color: red;
}
.note{
  color: #555;
  font-size: 12px;
}
.halfpage{
  width: 450px;
  overflow: hidden;
  float: left;
  padding-right: 40px
}


                                                /*            PRVKY             */
h1{
  font-size: 20px;
  font-weight: normal;
  text-align: center;
  clear: both;
}
h2{
  font-size: 18px;
  font-weight: normal;
  clear: both;
  margin-top: 50px;
  margin-left: 40px;
}
hr{
  clear: both;
  border: none;
  border-top: 1px solid #ddd;
  margin-bottom: 15px;
}
input[type=text], input[type=search], input[type=email], select, input[type=number], input[type=date], input[type=password]{
  width: 200px;
  border: 1px solid #bbb;
  padding: 2px;
  border-radius: 0;
}
td form{
  display: inline-block;
  margin: 0;
  padding: 0;
}
a{
  color: black;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}
table{
  font-size: 14px;
  border-collapse: collapse;
}
th{
  font-weight: normal;
}
textarea{
  min-width: 750px;
  max-width: 750px;
  height: 125px;
  border-style: solid;
  border-width: 1px; 
}