html{
  position: relative;
  margin: 0px;
  padding: 0px;
  text-align: center;
  background-color: #eee;
  height: 100%;
  /*overflow: hidden;*/
}

body{
  position: relative;

  margin: 0px auto;
  padding: 0px;
  background-color: #fff;
  height: 100%;
  /*overflow: hidden;*/
}

*{
  position: relative;
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: Verdana;
}

h1{
  position: relative;
  height: 20%;
  font-size: 7vh;
  text-transform: uppercase;
  line-height: 20vh;
  font-weight: 400;
  letter-spacing: 3px;
  user-select: none;
}

h1.puj{
  color: white;
  background-color: #299b7b;
  text-shadow: 1px 1px 2px #0004;
}

h1.vra{
  color: white;
  background-color: #9b293e;
}

h1.prehled{
  color: white;
  background-color: #8588fb;
  height: 10%;
  font-size: 7vh;
  text-transform: uppercase;
  line-height: 10vh;
}

input{
  position: relative;
  display: block;
  width: 100%;
  height: 20vh;
  font-size: 8vh;
  border: 0px;
  border-top: 2px solid #2f2f2f;
  text-align: center;
  color: #46ff46;
  background-color: #3e3d44;
}

.submit_p{
  color: white;
  background-color: #717171;
  border: 0px;
  border-top: 2px solid #2f2f2f;
  border-bottom: 2px solid #2f2f2f;
  transition: all 0.2s;
  text-shadow: 1px 1px 2px #0004;
}

.submit_p:disabled{
  color: #d1e3e0;
  background-color: #717171;
  border: 0px;
  border-top: 2px solid #2f2f2f;
  border-bottom: 2px solid #2f2f2f;
}

input::placeholder {
   color: #c6c6c6;
}

.relace{
  width: 100%;
  height: 18vh;
  background-color: #3e3d44;
}

.relace_box{
  width: 50%;
  height: 50%;
  float: left;
  border-left: 1px solid #717171;
  border-right: 1px solid #717171;
  border-bottom: 1px solid #717171;
  color: #ffffffc2;
  text-shadow: 1px 1px 1px #0007;
}

.relace_box_v, .relace_box_vr, .relace_box_t, .relace_box_s{
  height: 100%;
  float: left;
  line-height: 10vh;
  font-size: 2.5vh;
}

.relace_box_v{
  width: 70%;
  line-height: 3.3vh;
  padding-top: 1.0vh;
}
.relace_box_vr{
  width: 70%;
  line-height: 8vh;
  padding-top: 5px;
}

.relace_box_s{
  width: 30%;
  font-size: 4.5vh;
  color: #ff0f0f;
  line-height: 8vh;
  text-shadow: 1px 1px 1px #0007;
}

.relace_box_o{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 999999;
}

.zapujcky_radek{
  clear: both;
  width: 100%;
  height: 5vh;
  border-bottom: 1px solid black;
}

.zapujcky_radek_s{
width: 47vw;
float: left;
/*height: 5vh;*/
border-right: 1px solid black;
text-align: center;
  line-height: 5vh;
  font-size: 3vh;
}

.zapujcky_radek_s:nth-child(even){
  border: 0px;
}

.green{
  background-color: #39dd0d;
}

.red{
  background-color: #f15323;
}

.green_t{
  color: #39dd0d;
}

.red_t{
  color: #f15323;
}

.overlay{
  position: absolute;
  width: 100%;
  height: 20vh;
  top: 0px;
  left: 0px;
  background-color: transparent;
}
.overlay3{
  position: absolute;
  width: 100%;
  height: 40vh;
  top: 0px;
  left: 0px;
  background-color: transparent;
}
.overlay2{
  position: absolute;
  width: 100%;
  height: 20vh;
  top: 20vh;
  left: 0px;
  background-color: transparent;
}

.vraceni_input{
  height: 40vh;
  font-size: 12vh;
}

.small_button{
  width: 100%;
  height: 30px;
  line-height: 28px;
  font-size: 14px;
  display: block;
  background-color: #cccccc;
  float: left;
  text-decoration: none;
  color: #333;
  border: 1px solid black;
  font-weight: bold;
  position: absolute;
  bottom: 0px;
}

.button{
  width: 50%;
  height: 10vh;
  line-height: 10vh;
  font-size: 2.5vh;  
  display: block;
  background-color: #cccccc;
  float: left;
  text-decoration: none;
  color: #333;
  border-left: 2px solid black;
  border-right: 2px solid black;
}

.button_big{
  width: 100%;
  height: 6vh;
  clear: both;
  line-height: 6vh;
  font-size: 3vh;  
  display: block;
  background-color: #cccccc;
  text-decoration: none;
  color: #333;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

.sync{
  position: fixed;
  height: 5vh;
  top: 2vh;
  left: 5px;
  z-index: 999;
}

.device{
  position: fixed;
  top: 10px;
  left: 10px;
  font-size: 4vh;
  font-weight: bold;
  z-index: 999;
  color: #fff;
  opacity: 0.7;
  filter: alpha(opacity=70);
}

#ciselnik{
  position: absolute;
  width: 100%;
  height: 80vh;
  top: 20vh;
  left: 0px;
  background-color: #ccc;
  z-index: 9999;
  display: none;
}

#cis_1, #cis_2, #cis_3{
  position: relative;
  width: 33.3%;
  float: left;
}

#cis_1 div, #cis_2 div, #cis_3 div{
  height: 8vh;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  line-height: 8vh;
  font-weight: bold;
  font-size: 4vh;
}

.ok_button{
  position: relative;
  display: block;
  height: 56vh;
  line-height: 56vh;
  font-weight: bold;
  font-size: 8vh;
  color: white;
  background-color: #88e932;
  transition: all 0.3s;
}

#online_status{
  width: 100%;
  height: 2vh;
  font-size: 1.6vh;
  font-weight: 600;
  text-shadow: 1px 1px 1px #0006;
  letter-spacing: 2px;
}

.s_online{
  background-color: #84ff84;
  color: #126a0a;  
}

.s_offline{
  background-color: #ff8484;
  color: #6a0a0a;
}

#online_cache{
  position: absolute;
  display: block;
  right: 5px;
  top: 0px;
  height: 2vh;
  line-height: 2vh;
}

.rb_v{
  background-color: #9b293e;
}
.rb_p{
  background-color: #299b7b;
}
.seznam_vypujcka{
  border-bottom: 1px solid gray;
  border-right: 1px solid gray;
  padding: 0.5vh 0px 0.5vh 0px;
  font-weight: bold;
  color: #fffd;
  text-shadow: 1px 1px 1px #0007;
  width: 140px;
  float: left;
  height: 50px;
}
.st_c_1{
  background-color: #299b7b;
}
.st_c_2{
  background-color: #9b293e;
}
.sv_t{
  display: inline-block;
  font-size: 12px;
  white-space: nowrap;
  /*width: 33vw;*/
}
.sv_v{
  display: inline-block;
  font-size: 12px;
  /*width: 33vw;*/
}
.sv_s{
  display: inline-block;
  font-size: 12px;
  /*width: 33vw;*/
}

.seznam{
  width: 100%;
  min-height: 100vh;
  background-color: #3e3d44;
}

.seznam_celkem{
  border-bottom: 1px solid gray;
  padding: 1vh 0px 1vh 0px;
  font-weight: bold;
  color: #fffd;
  text-shadow: 1px 1px 1px #0007;
  font-size: 15px;
  height: 35px;
}

#pujceno_ts{
  display: block;
  width: 100px;
  position: absolute;
  top: 3px;
  right: 5px;
  font-size: 10px;
  text-align: right;
}

#chybny_kod{
  position: fixed;
  top: 5vw;
  left: 5vw;
  height: calc(100vh - 10vw);
  width: 90vw;
  border: 1px solid #ff5d5d;
  background-color: #d11010bf;
  box-shadow: 2px 2px 6px #360505;
  display: none;
}

#chybny_kod span{
position: absolute;
  top: 20%;
  left: 0px;
  width: 100%;
  font-size: 8vw;
  font-weight: 400;
  color: #ffe0e0;
  text-shadow: 1px 1px 2px #0004;
  padding: 3vw;
  line-height: 10vw;
}

#chybny_kod span i{
  font-weight: 800;
  color: #fff;
  font-style: normal;
}

#chybny_kod button{
  user-select: none;
  position: absolute;
  bottom: 10%;
  width: calc(80vw - 4px);
  left: 5vw;
  border: 0px;
  display: block;
  height: 20vh;
  font-size: 8vh;
  background-color: #fff;
}