/*flex-shrink: 1 nastavuje min-width: AUTO a nedochází tak ke zmenšování přes obsah. Nechtěné a proto přepsáno na min-width: 0; */
/*flex-shrink: 1 nastavuje min-height: AUTO a nedochází tak ke zmenšování přes obsah. Nechtěné a proto přepsáno na min-height: 0; */

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  outline: none; /*border focus */
  min-width: 0;
  min-height: 0;
  user-select: none;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* a links */
a,
a:visited {
  color: #00aeef;
}

/* Button na iOS při dvojklepnutí nevyvolá zoom */
button {
  touch-action: manipulation;
  overflow: hidden;
}

div {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.truncate-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  white-space: pre;
}

.mainContent {
  /*hlavni obsah */
  width: 100%; /* jednotky vh a vw přetéká obsah na mobilu ...*/
  height: 100%; /* ... proto nahrazeno procenty 11.4.2019 */
  overflow: auto;
}

/* .mainContent>div{
    height: 100%;
} */

.hide {
  display: none;
}

textarea {
  resize: none;
}

.mouse_only {
  display: none;
}

/* File upload */
.file-uploader--dragging {
  border-color: #000 !important;
  transition: all linear 1s;
}

#dropFileEnableText {
  display: none;
}

/* busyIndicator */
@-webkit-keyframes rotateBusyIndicator {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes rotateBusyIndicator {
  0% {
    -webkit-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotateBusyIndicator {
  0% {
    -webkit-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#busyIndicatorBig,
#fullScreenMessage {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

#busyIndicatorBig {
  background-color: rgba(0, 0, 0, 0.35) !important;
}

#fullScreenMessage {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

#busyIndicatorSmall {
  position: fixed;
  left: 12px;
  bottom: 15px;
  padding: 4px;
  background-color: #00539b;
  transition: opacity 400ms ease-in-out;
  border-radius: 5px;
}

#busyIndicatorBig .busyIndicatorIcon {
  align-self: center;
  margin-top: 5%;
  margin-bottom: 5%;
  min-width: 86px;
  min-height: 86px;
  width: 86px;
  height: 86px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  border: 6px solid #f0f0f0;
  border-right-color: #0054a6;
  -webkit-animation: rotateBusyIndicator linear 1000ms;
  -o-animation: rotateBusyIndicator linear 1000ms;
  animation: rotateBusyIndicator linear 1000ms;
  -webkit-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}

#busyIndicatorTextContainer {
  flex-direction: column;
  align-items: center;
  display: flex;
  padding: 6px;
  word-break: break-word;
}

.busyIndicatorTitle {
  color: #1260ac;
  font-size: 1.2em;
}

.busyIndicatorMessage {
  font-size: 1em;
  padding-top: 6px;
}

#busyIndicatorContainer {
  width: 380px;
  height: auto;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.showBusyText {
  background-color: #ffffff;
  box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.6);
}

button.link {
  background: transparent;
  color: blue;
  border: none;
  outline: 0;
  text-decoration: underline;
}

@media only screen and (max-width: 150mm) {
  #busyIndicatorContainer {
    width: 80vw;
  }
}

#fullScreenMessageText {
  display: block;
  position: relative;
  width: max-content;
  max-width: 40%;
  min-width: 25%;
  margin: auto;
  padding: 0.5em 2em;
  border-radius: 10px;
  text-align: center;
  font-size: 1.5em;
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #ffffff;
}

#fullScreenMessageText {
  top: 40vh;
  font-size: 1.2em;
}

#fullScreenMessageText button {
  font-size: 1em;
  padding: 0.4em 3em;
  background: #00539b;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
}

input[type="date"],
input[type="time"] {
  appearance: none;
  -webkit-appearance: none;
}

input[type="date" i]:read-only,
input[type="time"]:read-only {
  color: unset;
}

.column-resizable-handle {
  position: absolute;
  width: 10px;
  height: 100%;
  bottom: 0;
  right: -5px;
  cursor: col-resize;
  z-index: 1;
}

.column-resizable-handle > div {
  height: 100%;
  width: 1px;
  margin: auto;
}

.last-column-resizable-handle {
  right: 0px;
}

.last-column-resizable-handle > div {
  margin-left: 10px;
}

.react-resizable {
  position: relative;
  background-clip: padding-box;
}
