
.nobr {white-space: nowrap;}
.spadd {padding:0.01em 0.5em;}
.fbg {background-color:rgba(255,255,255,0.8);}
.w3-baloo {font-family: 'Baloo Bhai', cursive;}
#header {height:72px;}
#subheader  {height:39px;}
#canvas {padding-top:0px;}
.erak-tag {margin-top: 16px;}

#header span a {
  margin-left: 10px;
  text-decoration: none;
}
#header span a i {
  padding-right: 10px;
}

#canvas::before {
  content: "";
  background-image: url("../obr/main-bg.png");
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* zajistí, že pozadí bude pod obsahem */
}

@media (max-width: 600px) {
    .no-padding-mobile {
        padding: 0 !important;
    }
    .min-lr-padding-mobile {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

.thaleia-table {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #ccc; 
}
@media (max-width: 600px) {
    .thaleia-table {
        max-height: 300px;
    }
}
@media (max-width: 1600px) {
    .wrapper1600 {
    display: flex;
    flex-direction: column;
    align-items: center;
    }
}

.w3-card {margin-bottom:30px;}

.danger div {
  color: white !important;
  background-color: red !important;
}
.warning div {
  background-color: yellow !important;
}

.login {
    width: 420px;
    background-color: #ffffff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
    margin: 50px auto;
}
.login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.login form li{
    color: #ff0000;
}
.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #548a2e;
    color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"], .login form input[type="email"] {
    width: 330px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.login form input[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #9cd175;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #000;
    transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
    background-color: #5e9933;
    color: #ffffff;
    transition: background-color 0.2s;
}

.menu{
    display: flex;
    margin-top: 10px;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.menu a{
    width: 15em;
}

.admin-header{background-color:#ffc3c3 !important;}

.mwid800{
    max-width:800px;
}

.wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.settings{
    width: 25em;
    margin-top: 20px;
    box-shadow: 0px 0px 10px 2px grey;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.settings-15{
    width: 15em;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.settings-20{
    width: 20em;
    margin-top: 20px;
    box-shadow: 0px 0px 10px 2px grey;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}


.btn{
    width: 100%;
    border: none;
}

.section-hide{
    display: none;
}

.collapse-btn{
    width: 20%;
    border: none;
    cursor:pointer;
}

.set-popisek{
    display: flex;
    cursor:pointer;
    font-size: 1.2em;
    padding-top: 2px;
}

.set-text{
    width: 80%;
    padding: 4px 0;
}

.prave{
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: right;
}

.prave a{
    gap: 5px;
}

.tooltip {
    position: relative;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 100%;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 105%;
  }

  @media only screen and (max-width: 600px) {
    .tooltip .tooltiptext {
        top: -300%;
        left: 0%;
      }
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

  .tooltip.clicked .tooltiptext {
    visibility: visible;
  }

  /*Vstupni pole pro cisla*/
  input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
  }
  
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
  }

  input[type=radio]  {margin-right: 6px;}
  
  .number-input {
    border: 2px solid #ddd;
    display: inline-flex;
  }
  
  .number-input,
  .number-input * {
    box-sizing: border-box;
  }
  
  .number-input button {
    outline:none;
    -webkit-appearance: none;
    background-color: #eee;
    border: none;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    margin: 0;
    position: relative;
  }
  .number-input button:hover {
    background-color: #ccc;
  }
  
  .number-input button:after {
    display: inline-block;
    position: absolute;
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    content: '\f077';
    transform: translate(-50%, -50%) rotate(180deg);
  }
  .number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  
  .number-input input[type=number] {
    font-family: sans-serif;
    max-width: 8rem;
    padding: .5rem;
    border: solid #ddd;
    border-width: 0 2px;
    font-size: 2rem;
    height: 3rem;
    font-weight: bold;
    text-align: center;
  }

  .input-unit {
    font-size: 1.6rem;
    height: 3rem;
    vertical-align: bottom;
    font-weight: bold;
    padding: 0 0.5rem;
    display:inline;
  }

.flexim {
  display:flex;
  align-items: center;
}

.flexim label{
  margin-left: 15px;
}

.timeline {
  display: flex;
  width: 100%; /* Celá šířka */
  border: 1px solid rgb(128, 128, 128);
  flex-wrap: nowrap;
  align-items: flex-end;
  height: 22px;
  margin-bottom: 16px;
}