html, body {
  background-position: center 150px, center top;
  background-size: auto, contain;
  width: 100%;
  height: calc(100% - 24px);
  font-family: Calibri;
}
h1.tab, h1.vuz, h2.pracovnik {
  background-color: rgba(0, 128, 0, 0.8);
  width: calc(100% - 42px);
  height: 65px;
  padding: 4px 8px 4px 8px;
  margin: 8px;
  border: 4px #000000 solid;  
  color: #ffffff;
  font-size: 45px;
  border-radius: 30px 10px 20px 10px;
}
h2.pracovnik {
  background-color: rgba(255,255,255,0.6);
  margin: 8px 8px 0px 8px;
  color: #000000;
  height: 20px;
  font-size: 17px;
  font-weight: normal;
}
h1.vuz {
  background-color: rgba(0,64,255,.6);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
  font-size: 25px;
}
.green {
  background-color: rgba(0,128,0,.6);
}
h1.red {
  background-color: rgba(255,0,0,.8);
}
input[type=button].login, input[type=button].pin, input[type=button].takt  {
  width: 500px;
  height: 100px;
  font-size: 30px;
  padding: 20px 10px 20px 10px;
  margin: 10px;
  text-align: center;
  border-radius: 30px 10px 20px 10px;
}
input[type=button].pin {
  height: 75px;
  padding: 10px;
  font-size: 25px;
}
input[type=button].takt {
  width: 300%;
  height: 75px;
  padding: 10px;
  font-size: 25px;
}
input[type=button].key, input[type=submit].key, input[type=reset].key {
  height: 80px;
  width: 120px;
  margin: 8px;
  font-size: 40px;
  border-radius: 30px 10px 20px 10px;
}
input[type=text].number, input[type=password].number {
  border: 0px;
  background-color: transparent;
  font-size: 70px;
  text-align: center;
  font-weight: bold;
  height: 80px;
  width: 100%;
  text-shadow: 1px;
  box-shadow: 0 0 0 0;
}
input[type=button].reset, input.red_btn {
  background: red;
  background: -moz-linear-gradient(-45deg,maroon 0%,red 50%,maroon 100%);
  background: -webkit-linear-gradient(-45deg,maroon 0%,red 50%,maroon 100%);
  background: linear-gradient(135deg,maroon 0%,red 50%,maroon 100%);
}
input[type=button].reset:hover, input.red_btn:hover {
  background: red;
}
input[type=button].reset:active, input.red_btn:active {
  background: maroon;
}
input.green_btn {
  background: #0E0;
  background: -moz-linear-gradient(-45deg,green 0%,#0E0 50%,green 100%);
  background: -webkit-linear-gradient(-45deg,green 0%,#0E0 50%,green 100%);
  background: linear-gradient(135deg,green 0%,#0E0 50%,green 100%);
}
input.green_btn:hover {
  background: #0E0;
}
input.green_btn:active {
  background: green;
}
input.blue_btn {
  background: #157EFE;
  background: -moz-linear-gradient(-45deg,#02A 0%,#157FFF 50%,#02A 100%);
  background: -webkit-linear-gradient(-45deg,#02A 0%,#157FFF 50%,#02A 100%);
  background: linear-gradient(135deg,#02A 0%,#157FFF 50%,#02A 100%);
}
input.blue_btn:hover {
  background: #157EFE;
}
input.blue_btn:active {
  background: #02A;
}
input.odpoved {
  background: #C000C0;
  background: -moz-linear-gradient(-45deg,#440044 0%,#C000C0 50%,#440044 100%);
  background: -webkit-linear-gradient(-45deg,#440044 0%,#C000C0 50%,#440044 100%);
  background: linear-gradient(135deg,#440044 0%,#C000C0 50%,#440044 100%);
}
input.odpoved:hover {
  background: #C000C0;
}
input.odpoved:active {
  background: #440044;
}
div.hlavni_pole {
  padding: 0px 4px 0px 8px;
  width: calc(100% - 24px);
  height: calc(100% - 100px);
  display: block;
}
div.celk_takt {
  width: 650px;
  height: auto;
  margin: auto;
  display: flex;
}
div.takt {
  width: 200px;
  height: 50px;
  margin: 8px;
}
input[type=button].takt {
  width: 100%;
  height: 100%;
}
input[type=button].takt:disabled {
  width: 100%;
  height: 100%;
  cursor: none;
  background: #6976a8;
}
div.logout, div.change_workplace, div.change_car, div.view_checked {
  font-weight: bold;
  width: auto;
  height: auto;
  position: absolute;
  top: 15px; 
  cursor: pointer;
}
img.logout, img.change_workplace, img.change_car, img.view_checked {
  margin: 3px 4px 0px 0px;
  float: left;
}
div.logout {
  left: 24px;
}
div.color_jistsp {
 background-color: rgba(7, 160, 165, .8);
}
div.color_ct {
  background-color: rgba(252, 128, 112, .8);
}
div.checklist {
  border: 2px #000000 solid;  
  margin: 0px 0px 10px 0px;
  border-radius: 30px 10px 20px 10px;
  height: auto; 
  overflow: hidden;
}
div.checklist_head, div.checklist_body {
  font-weight: bold;
}
div.checklist_head {
  display: flex;
  font-size: larger;
  padding: 4px 0px 4px 12px;
}
div.checklist_body {
  background-color: rgba(255, 255, 255, 0.4);
  border-top: 2px #000000 solid;
  overflow: hidden;
}
div.checklist_check {
  border-top: 2px #000000 solid;
  overflow: hidden;
}
div.ok {
	background-color: #00AA00;
}
div.nok {
	background-color: #FF0000;
}
div.tech {
	background-color: #0080C0;
}
div.ch {
	background-color: #C000C0;
}
div.old {
	background-color: #FFC000;
}
input[type=button],input[type=submit] {
 cursor: pointer;
 border-radius: 10px 3px 10px 5px;
 font-weight: bold;
 box-shadow: rgba(0,0,0,.5) 0 1px 8px 0;
 border: 1px #000000 solid;
}
input[type=submit].small_btn, input[type=button].small_btn {
 font-size: 16px;
 margin: 8px 0px 2px 0px;
 padding: 4px 8px 4px 8px;
}
input[type=button].del_btn, input[type=submit].del_btn {
  font-size: 18px;
  color: #FF0000;
  width: 30px;
  height: 30px;
  padding-bottom: 4px;
}
input[type=button].check_btn, input[type=submit].check_btn {
  width: 100px;
  height: 50px;
  font-size: 25px;
  margin: 6px 6px 0px 0px;
}
input[type=text].note, input[type=text].note2 {
  padding: 2px 6px 2px 6px;
  color: #000080;
  font-size: 18px;
  border: 4px transparent solid;
  height: 18.5px;;
  border-radius: 10px 3px 10px 5px;
  box-shadow: rgba(0,0,0,.5) 0 1px 8px 0;
}
input[type=text].note {
  width: calc(100% - 260px);
}
input[type=text].note2 {
  width: calc(100% - 588px);
}
input[type=text].note_ch {
  color: #ff0000;
  border: 4px #FF0000 solid;
  animation: blink 1s;
  animation-iteration-count: infinite;
}
@keyframes blink {
  50% { border-color: transparent; }
}
input[type=submit].note {
  padding: 4px 8px 4px 8px;
  width: 200px;
  margin-right: 24px; 
  font-size: 18px;
  float: right;
}
input[type=button].odpoved {
  padding: 4px 8px 4px 8px;
  width: 320px;
  font-size: 18px;
  margin-right: 8px;
  float: left;
  color: #FFFFFF;
}
div.odpoved {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 8px 8px;
  color: #000000;
  font-size: 25px;
  cursor: pointer;
}
div.nav {
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  width: 150px;
  height: auto;
  margin-top: 4px;
}
div.nav2 {
  border: 2px solid #000000;
  border-radius: 20px 5px 15px 5px;
  background-color: rgba(0,0,0,.8);
  color: white;
  box-shadow: rgba(0,0,0,.5) 0 1px 8px 0;
}
img.nav {
  border: 0;
  width: 64px;
  height: 32px;
  padding: 10px 0px 0px 0px;
}
img.nav2 {
  border: 0;
  width: 128px;
  height: 64px;
  padding: 10px 0px 0px 0px;
}
div#loaded {
  display: none;
}
div#loading {
  font-weight: bolder;
  position: fixed;
  top: 200px;
  left: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sto {
  width: 100%;
  height: 100%;
}
.loader {
  position: absolute;
  top: 0;
  left: calc(50% - 100px);
  border: 1px  transparent;
  border-top: 10px solid rgb(89, 20, 129);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}