.insert, .insert3 {
  padding-left: 20px;
  padding-right: 20px;
  color: #000000;
  border: 1px solid #000000;
}
.insert2 {
  padding: 5px 0px 5px 10px;
  margin-right: 10px;
  border: 1px solid #000000;
  height: 30px;
  font-weight: bold;
  border-radius: 10px 5px 10px 5px;
}
.insert3 {
  margin: 1px;
  width: calc(100% - 44px);
  height: calc(100% - 20px);
}
input, select, textarea, canvas {
  background-color: #ffffff;
  color: #000000;
  font-size: 15px;
  border: 1px solid #000000;
  cursor: text;
  height: 20px;
  padding: 2px 4px;
  margin: 1px 4px;
  position: relative;
  right: 5px;
  border-radius: 10px 5px 10px 5px;
  box-shadow: rgba(0,0,0,.5) 0 1px 8px 0;
  color: #000000;
}
canvas.PasteImage {
  cursor: url('../art/cursor.png'), auto;
  background-color: rgba(100,0,100,.8);
  padding: 0;
}
select, input[type=color] {
  height: 26px;
  cursor: pointer;
}
select::selection, input[type=radio]{
  cursor: pointer;
}
textarea {
  height: 300px;
}
textarea.form {
  height: 150px;
}
::-webkit-resizer {
  display: none;
}
input:disabled, input.form:disabled, select:disabled, select.form:disabled, textarea:disabled {
  background-color: #d1d1d1;
  color: #5e5d5d;
  border: 1px solid #909090;
  cursor: not-allowed;
}
input:invalid, select:invalid, textarea:invalid {
  border: 1px solid #ff0000;
  animation: blink 1s;
  animation-iteration-count: infinite;
}
.invalid {
  background-color: #f90000;
  color: #ffffff;
  animation: blink 1s;
  animation-iteration-count: infinite;  
  cursor: url('../art/cursor2.png'), auto;
}
@keyframes blink { 50% { border-color: #000000; }  }
input.form, textarea.form{
  width: calc(100% - 12px);
}
select.form{
  min-width: 80px;
  width: calc(100% - 2px);
}
select.tpv{
  width: 36px;
  height: 20px;
}
div.form_nadpis, div.form_tlacitka {
  width: 100%;
  height: 30px;
  background-image: linear-gradient(to top, transparent, rgb(133, 133, 133) 20px);
  margin: 2px 0;
}
div.form_nadpis {
  -webkit-text-stroke: .2px rgb(65, 48, 139);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.548);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
div.form_tlacitka {
  text-align: right;
}
div.form_row {
  display: grid;
  grid-template-columns: max-content 1fr; /* levý sloupec podle nejširšího labelu, pravý se roztáhne */
  align-items: center;
}
div.form_leva {
  background-color: rgba(0,0,0,.1);
  font-weight: bold;
  text-align: right; 
  padding: 3px 10px 3px 10px; 
  white-space: nowrap;
  height: calc(100% - 6px);
}
div.form_colspan {
  background-color: rgba(0,0,0,.1);
  font-weight: bold;
  text-align: center; 
  padding: 3px 10px 3px 10px; 
  white-space: nowrap;
}
div.form_prava {
  background-color: rgba(255,255,255,.15);
  text-align: left;
}