:root {
 --left-menu-width: 170px;
}

.notification {
 position: fixed;
 height: 50px;
 width: 300px;
 line-height: 50px;
 text-align: center;
 vertical-align: middle;
 border-radius: 3px;
 -webkit-box-shadow: 5px 5px 20px -6px rgba(0,0,0,1);
 -moz-box-shadow: 5px 5px 20px -6px rgba(0,0,0,1);
 box-shadow: 5px 5px 20px -6px rgba(0,0,0,1);
 right: 20px;
 z-index: 1;
}

.notification-success {
 background-color: lightgreen;
 color: black;
}

.notification-info {
 background-color: lightgray;
 color: black;
}

.notification-warning {
 background-color: orange;
 font-weight: bold;
 color: White;
}

.notification-error {
 background-color: red;
 font-weight: bold;
 color: white;
}

#reconnect-modal {
  display: none;
}

.reconnect-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  overflow: hidden;
  background-color: #FFF;
  color: #000;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 40vh min-content min-content min-content;
  justify-items: center;
}

.reconnect-label {
  padding-top: 2vw;
  font-size: 4vw;
  font-weight: bold;
}

.reconnect-sublabel {
  font-size: 3vw;
}

/* ------------ HLAVNÍ ROZLOŽENÍ ------------ */
*{
 touch-action: manipulation;
}

.fit-td {
 width: 1px;
 padding-left: 5px;
 padding-right: 5px;
}

.icon-td-sklad {
  padding-bottom: 0.25rem !important;
  padding-top: 0.5rem !important;
}

.sklad-prijem-wrapper {
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0px;
  top: 0px;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  backdrop-filter: blur(6px);
  z-index: 9998;
}

.sklad-prijem-modal {
  position: fixed;
  left: 10vw;
  top: 5vw;
  right: 10vw;
  box-shadow: 0 1vw 3vw rgb(0 0 0 / 70%);
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: min-content;
  grid-gap: 1rem;
  background-color: #FFF;
  border: 1px solid black;
  padding: 1.5vw;
  z-index: 9999;
}

.menu-bocni {
 height: 100%;
 position: fixed;
 background-color: #f6f7f9;
 width: 170px;
 top: 0px;
 left: 0;
 z-index: 2;
 padding: 0px;
 margin: 0px;
 padding-left: 1px;
 padding-right: 1px;
 padding-top: 75px;
 color: #737F89;
 border-right: 1px solid #d6d6d6;
 -webkit-backface-visibility: hidden;
}

.menu-bocni-min {
 height: 100%;
 position: fixed;
 background-color: #f6f7f9;
 width: 58px;
 top: 0px;
 left: 0;
 z-index: 2;
 padding: 0px;
 margin: 0px;
 padding-left: 1px;
 padding-right: 1px;
 padding-top: 75px;
 color: #737F89;
 border-right: 1px solid #d6d6d6;
 -webkit-backface-visibility: hidden;
}

.menu-bocni-aktivni {
 font-weight: bold;
 color: #535353;
}

.menu-bocni-ul {
 padding: 0px;
 cursor: pointer;
}

.menu-bocni-li {
 list-style: none;
 text-decoration: none;
 align-content: center;
 height: 3rem;
 clear: both;
}

 .menu-bocni-li:hover {
  font-weight: bold;
  background-color: #dcdcdc;
  color: #404040
 }

.menu-bocni-sbal {
 position: absolute;
 bottom: 0px;
 right: 0px;
 font-size: 1.5rem;
}

.menu-bocni-text {
 padding-top: 0.75rem;
 padding-bottom: 0.75rem;
 float: left;
 font-size: 1rem;
}

.menu-bocni-i {
 padding: 0.75rem;
 line-height: 1.5rem;
 font-size: 1.5rem;
 float: left;
 width: 55px;
 text-align: center;
}

.hlavni-obsah {
 padding-top: 75px;
 padding-left: 180px;
 padding-right: 15px;
 padding-bottom: 15px;
}

.hlavni-obsah-min {
 padding-top: 75px;
 padding-left: 70px;
 padding-right: 15px;
 padding-bottom: 15px;
}

.navbar-color {
 background-color: #008533;
}

.pointer {
 cursor: pointer;
}

/* ------------------------ */

.num {
  width: 2rem;
  text-align: center;
  vertical-align: middle !important;
}

.ukoly-hl-wrapper {
 position: sticky;
 top: 65px;
 padding-top: 1rem;
 z-index: 1;
 padding-bottom: 0.01rem;
 margin-top: -10px;
 background-color: white;
}

.ukoly-hl {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 margin-bottom: 1rem;
}

 .ukoly-hl .nadpis {
  display: flex;
  align-items: center;
 }

.ukoly-seznam {
 display: grid;
 grid-template-columns: 1fr;
 grid-gap: 1rem;
}

.ukol {
 display: grid;
 grid-template-columns: min-content 1fr;
 grid-gap: 1rem;
 padding: 0.5rem;
}

 .ukol textarea {
  width: 100%;
 }

.ukol-text {
 width: 100%;
 display: grid;
 grid-template-columns: 1fr;
 justify-content: flex-end;
 justify-items: end;
 grid-gap: 0.5rem;
}

.bread-link {
 padding-top: 0px;
 padding-bottom: 0px;
 padding-right: 0px;
 cursor: pointer;
 font-weight: bold;
}

.navbar-color {
 background-color: #2b2a28;
}

.blazor-body {
 padding-top: 68px;
}

.box {
 width: 100%;
 height: 100%;
 padding-top: 30px;
 padding-bottom: 30px;
 font-size: 2rem;
 font-weight: bold;
}

.div-box {
 padding: 3px;
 height: 100%;
}

.neaktivni {
 background-color: #ffa1a1;
}

.center {
 margin: 0;
 position: absolute;
 top: 50%;
 left: 50%;
 -ms-transform: translate(-50%, -50%);
 transform: translate(-50%, -50%);
}

.menu-bread {
 position: -webkit-sticky;
 position: -moz-sticky;
 position: -o-sticky;
 position: -ms-sticky;
 position: sticky;
 top: 68px;
 z-index: 1;
}

.hl-prod-min {
 position: fixed;
 top: 0px;
 width: 100%;
 left: 0px;
 padding-top: 85px;
 padding-left: 75px;
 padding-right: 15px;
 padding-bottom: 0px;
 background-color: white;
 -webkit-backface-visibility: hidden;
 z-index: 1;
}

.hl-prod {
 position: fixed;
 top: 0px;
 width: 100%;
 left: 0px;
 padding-top: 85px;
 padding-left: 180px;
 padding-right: 15px;
 padding-bottom: 0px;
 background-color: white;
 -webkit-backface-visibility: hidden;
 z-index: 1;
}

.hl-dokl {
 position: fixed;
 top: 150px;
 width: 100%;
 left: 0px;
 padding-top: 0px;
 padding-left: 180px;
 padding-right: 15px;
 padding-bottom: 15px;
 background-color: white;
 -webkit-backface-visibility: hidden;
 z-index: 1;
}

.hl-dokl-min {
 position: fixed;
 top: 150px;
 width: 100%;
 left: 0px;
 padding-top: 0px;
 padding-left: 75px;
 padding-right: 15px;
 padding-bottom: 15px;
 background-color: white;
 -webkit-backface-visibility: hidden;
 z-index: 1;
}

.hl-dokl-det {
 position: fixed;
 top: 150px;
 width: 100%;
 left: 0px;
 padding-top: 0px;
 padding-left: 180px;
 padding-right: 15px;
 padding-bottom: 15px;
 background-color: white;
 -webkit-backface-visibility: hidden;
 z-index: 1;
}

.hl-dokl-det-min {
 position: fixed;
 top: 150px;
 width: 100%;
 left: 0px;
 padding-top: 0px;
 padding-left: 75px;
 padding-right: 15px;
 padding-bottom: 15px;
 background-color: white;
 -webkit-backface-visibility: hidden;
 z-index: 1;
}

.obsah-dokl-det {
 padding-top: 155px;
}

.sez-dokl {
 padding-top: 224px;
}

.hl-prod-btn {
 width: 170px;
 margin-left: 10px;
 margin-right: 10px;
}

.hl-dokl button {
 float: right;
}

.hl-dokl h3 {
 margin-bottom: 20px;
 float: left;
}

.hl-dokl-min button {
 float: right;
}

.hl-dokl-min h3 {
 margin-bottom: 20px;
 float: left;
}


.hl-tab-dokl {
 position: -webkit-sticky;
 position: -moz-sticky;
 position: -o-sticky;
 position: -ms-sticky;
 position: sticky;
 top: 298px;
}

.hl-uziv {
 position: fixed;
 top: 0px;
 width: 100%;
 left: 0px;
 padding-top: 85px;
 padding-left: 180px;
 padding-right: 15px;
 padding-bottom: 15px;
 background-color: white;
 -webkit-backface-visibility: hidden;
}

.hl-uziv-min {
 position: fixed;
 top: 0px;
 width: 100%;
 left: 0px;
 padding-top: 85px;
 padding-left: 75px;
 padding-right: 15px;
 padding-bottom: 15px;
 background-color: white;
 -webkit-backface-visibility: hidden;
}

.hl-uziv button {
 float: right;
}

.hl-uziv h3 {
 margin-bottom: 20px;
 float: left;
}

.hl-uziv-min button {
 float: right;
}

.hl-uziv-min h3 {
 margin-bottom: 20px;
 float: left;
}

.hl-tab-uziv {
 position: -webkit-sticky;
 position: -moz-sticky;
 position: -o-sticky;
 position: -ms-sticky;
 position: sticky;
 top: 190px;
}

.sez-uziv {
 padding-top: 115px;
}

.hl-zbozi {
 position: fixed;
 top: 0px;
 width: 100%;
 left: 0px;
 padding-top: 85px;
 padding-left: 180px;
 padding-right: 15px;
 padding-bottom: 15px;
 background-color: white;
 -webkit-backface-visibility: hidden;
 z-index: 1;
}

.hl-zbozi-min {
 position: fixed;
 top: 0px;
 width: 100%;
 left: 0px;
 padding-top: 85px;
 padding-left: 75px;
 padding-right: 15px;
 padding-bottom: 15px;
 background-color: white;
 -webkit-backface-visibility: hidden;
 z-index: 1;
}

.hl-tab-zbozi {
 position: -webkit-sticky;
 position: -moz-sticky;
 position: -o-sticky;
 position: -ms-sticky;
 position: sticky;
 top: 190px;
}

.sez-zbozi {
 padding-top: 115px;
}

.hl-tab-zakaznici {
 position: -webkit-sticky;
 position: -moz-sticky;
 position: -o-sticky;
 position: -ms-sticky;
 position: sticky;
 top: 190px;
}

.sez-zakaznici {
 padding-top: 115px;
}

.hl-sez-2 {
 position: -webkit-sticky;
 position: -moz-sticky;
 position: -o-sticky;
 position: -ms-sticky;
 position: sticky;
 top: 116px;
 z-index: 2;
 background-color: white;
 padding-top: 20px;
}

.hl-sez-3 {
 position: -webkit-sticky;
 position: -moz-sticky;
 position: -o-sticky;
 position: -ms-sticky;
 position: sticky;
 top: 243px;
 z-index: 3;
}

input[type=checkbox] {
 vertical-align: middle;
 width: 1.5rem;
 height: 1.5rem;
}

.obrat {
 margin-top: 1rem;
}

.obrat-grid {
 display: grid;
 grid-auto-rows: 2.5rem;
 align-items: center;
 overflow-y: auto;
 height: calc(100vh - 260px);
}

 .obrat-grid > div > div {
  padding-left: 1rem;
  padding-right: 1rem;
  white-space: nowrap;
  height: 100%;
  width: 100%;
  border-bottom: 1px solid lightgray;
 }

 .obrat-grid.sloupce-2 {
  grid-template-columns: min-content min-content min-content;
 }

 .obrat-grid.sloupce-3 {
  grid-template-columns: min-content min-content min-content;
 }

 .obrat-grid.sloupce-4 {
  grid-template-columns: min-content min-content min-content min-content;
 }

.obrat-grid-hlav, .obrat-grid-telo {
 display: contents;
}

 .obrat-grid-hlav > div {
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -o-sticky;
  position: -ms-sticky;
  position: sticky;
  top: 0px;
  font-weight: bold;
  background-color: #2B2A28;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
 }

.rok, .mesic, .penize {
 display: flex;
 align-items: center;
}

.rok, .mesic {
 justify-content: center;
}

.penize {
 justify-content: flex-end;
}

/* --------- původní ----------*/

html, body {
 font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
 color: #0366d6;
}

.btn-primary {
 color: #fff;
 background-color: #1b6ec2;
 border-color: #1861ac;
}

app {
 position: relative;
 display: flex;
 flex-direction: column;
}

.top-row {
 height: 3.5rem;
 display: flex;
 align-items: center;
}

.main {
 flex: 1;
}

 .main .top-row {
  background-color: #f7f7f7;
  border-bottom: 1px solid #d6d5d5;
  justify-content: flex-end;
 }

  .main .top-row > a, .main .top-row .btn-link {
   white-space: nowrap;
   margin-left: 1.5rem;
  }

  .main .top-row a:first-child {
   overflow: hidden;
   text-overflow: ellipsis;
  }

.sidebar {
 background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

 .sidebar .top-row {
  background-color: rgba(0,0,0,0.4);
 }

 .sidebar .navbar-brand {
  font-size: 1.1rem;
 }

 .sidebar .oi {
  width: 2rem;
  font-size: 1.1rem;
  vertical-align: text-top;
  top: -2px;
 }

 .sidebar .nav-item {
  font-size: 0.9rem;
  padding-bottom: 0.5rem;
 }

  .sidebar .nav-item:first-of-type {
   padding-top: 1rem;
  }

  .sidebar .nav-item:last-of-type {
   padding-bottom: 1rem;
  }

  .sidebar .nav-item a {
   color: #d7d7d7;
   border-radius: 4px;
   height: 3rem;
   display: flex;
   align-items: center;
   line-height: 3rem;
  }

   .sidebar .nav-item a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
   }

   .sidebar .nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
   }

.content {
 padding-top: 1.1rem;
}

.navbar-toggler {
 background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
 outline: 1px solid #26b050;
}

.invalid {
 outline: 1px solid red;
}

.validation-message {
 color: red;
}

#blazor-error-ui {
 background: lightyellow;
 bottom: 0;
 box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
 display: none;
 left: 0;
 padding: 0.6rem 1.25rem 0.7rem 1.25rem;
 position: fixed;
 width: 100%;
 z-index: 3;
 -webkit-backface-visibility: hidden;
}

 #blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
 }

@media (max-width: 767.98px) {
 .main .top-row:not(.auth) {
  display: none;
 }

 .main .top-row.auth {
  justify-content: space-between;
 }

 .main .top-row a, .main .top-row .btn-link {
  margin-left: 0;
 }
}

@media (min-width: 768px) {
 app {
  flex-direction: row;
 }

 .sidebar {
  width: 250px;
  height: 100vh;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -o-sticky;
  position: -ms-sticky;
  position: sticky;
  top: 0;
 }

 .main .top-row {
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -o-sticky;
  position: -ms-sticky;
  position: sticky;
  top: 0;
 }

 .main > div {
  padding-left: 2rem !important;
  padding-right: 1.5rem !important;
 }

 .navbar-toggler {
  display: none;
 }

 .sidebar .collapse {
  /* Never collapse the sidebar for wide screens */
  display: block;
 }
}

*:not(input) {
 user-select: none;
}
