*{
  font-family: Verdana,"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;
  color: white;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;       
  box-sizing: border-box;
}

html, body{
  background-color: rgb(100,100,100);
  background-attachment: fixed;
  margin: 0; 
  min-height: 100vh;
  overflow-y: overlay;
  scroll-behavior: smooth;
  height: 100%;
} 

header{
  display: flex;
  height: 12vh;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-size: 50px;
  font-weight: bold;
  background-color: rgb(130,130,130);
}

ul{
  display: flex;
  flex-direction: inline;
  position: relative;
  text-align: center;
  align-items: center;
  background-color: rgb(0,0,0);
  margin: 0px;
  padding: 0px;
  list-style: none;
  height: 4vh;
  font-size: 20px;
  overflow: hidden;
}

li{
  padding-left: 20px;
  padding-right: 20px;
}

#cara{
  background-color: gray;
  min-width: 5px;
  min-height: 100px;
}
#cara, #otaznik{
  padding-left: 0px;
  padding-right: 0px;
}

#otaznik{
  margin-right: 1vw;
  margin-left: auto;
}

a{
  text-decoration: none;
  display: block;
  cursor: pointer;
}

button{
  background: rgba(0, 0, 0, 0);
  border: none;
  color: white;
  font-size: 23px;
  height: 100%;
  width: 100%;
  max-width: inherit;
  max-height: inherit; 
  justify-content: center;
  text-align: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img{  
  width:1.6vw;
  height:3.5vh;
  display:block;    
  margin: auto auto;
}

#box, #box2, #box3, #box4, #box5{
  font-size: 23px;
  border: 3px solid white;
  position: relative;
  width: fit-content;
  height: fit-content;
  display: table;
  overflow: auto;
  margin: 20vh auto;
  background: rgb(0,0,0);
  justify-content: center;
  text-align: center;
  align-items: center;
}

#box2{
  margin: auto auto;
  top: -10vh;
}

#box3{
  position: absolute;
  top: 0;
  left: 0;
  right: 0.1vw;
  bottom: 0;
  margin: auto;
  margin-top: 18vh;
  background-color: white;
  border-width: 0px;
  height: 0px;
}

#box3 table{
  border-top-width: 0px;
  border-bottom-width: 0px;
}

#box3 table tbody tr th div, #box3 table tbody tr td div{
  height:0;
}

#box3 table tbody tr th, #box3 table tbody tr td{
  border-top-width: 0px;
  border-bottom-width: 0px;
  padding: 0px;
}

#box4{
  font-size: 18px;
  position: absolute;
  top: 0;
  right: 25px;
  margin-top: 16vh;
  overflow: hidden;
  display: none;
  width: 18vw;
  z-index: 1;
  font-style: italic;
}

#box4 table, #box4 table td{
  color: lightgray;
  border-width: 0px;
}

#box4 hr#hr1{
  height: 1px;
} 

#box4 hr{
  color: white;
  background-color:white;
  height: 4px;
  margin: 0 0;
  border-width: 0px;
} 

#box4 table{
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

#box4 p{
  margin: 10px;
  color: lightgray;
}

#box5{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  margin-top: 5vh;
  max-width: 50vw;
  font-size: 15px;
  overflow: hidden;
  display: block;
}

#box5 p{
  margin: 10px;
}

p{
  margin: 25px;
}

table, th, td{
  overflow: hidden;
}

table, th{
  border: 5px solid white;
  border-collapse: collapse;
}

td{
  border: 3px solid white;
}

.krizek,.plus{
  border-left: 5px solid white;
}

.pridani3 td div{
  height: 0px;
} 

.pridani td div, .pridani2 td div, .pridani3 td div, th div{
  display: flex;
  flex-direction: inline;
  justify-content: center;
  position: relative;
  text-align: center;
  align-items: center; 
}

.pridani3 td{
  display: none;
  border-top: 5px solid white;
  border-bottom: 5px solid white;
}

.pridani2 td{
  border: 0px solid white;
  border-top: 5px solid white;
}

.pridani2 a{
  margin: auto;
}

.pridaniplus{
  min-width: 2.8vw;
}

textarea, input, select, option{
  font-size: 16px;
  background: none;
  display: inline-block;
  top:0;
  left:0;
  margin: 0;
  height: 100%;
  width: 100%;
  border: none;
  padding: 5px;
}

select{
  padding-bottom: 0px;
}

option{
  color: black;
}

#usecheck{
  -ms-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  -o-transform: scale(0.5);
  transform: scale(0.5);
}

#maincheck{
  margin-right: 10px;
}

#divcheck{
  display: flex;
}

td div{
  max-height: 100%;
}

#de1{
  min-width: 15vw;
}

#de2{
  min-width: 13vw;
}

#de3{
  min-width: 5vw;
}

#de4{
  min-width: 3vw;
}

#de3 div input[type=checkbox]{
  max-width: none;
}  

.invis, #zmena{
  display: none;
}

#zmena{
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

#ok{
  color:#00CC00;
}

#er{
  color:red;
}

.index{
  max-width: 60vh;
}

textarea {
  resize: none;
  font-size: 16px;
}

footer{
  height: 24px;
  background-color: black;
  color: white;
  display: block;
  box-sizing: border-box;
  width: 100%; 
  text-align: right;
  clear: both;
  position: absolute;
  bottom: 0;
} 

::-webkit-scrollbar{
  width: 7px;
}

::-webkit-scrollbar-thumb{
  background: #000000;
  border-left: solid 1px #121212;
}
  
::-webkit-scrollbar-track{
  background: #373737;
}