/* CSS Document */
p {
  margin: 0px;
}

body {
  margin: 0px;
}

h1,
h2,
h3 {
  margin: 0px;
}

form {
  margin: 0px;
}

input,
textarea,
select {
  margin: 0px;
}

img {
  border: 0px;
}

table {
  border: 0px;
  border-collapse: collapse;
}

a {
  color: inherit;
}
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul,
ol,
li {
  margin: 0px;
  padding: 0px;
}

.clear {
  clear: both;
}

.clear-left {
  clear: left;
}

.clear-right {
  clear: right;
}

.float.right {
  float: right;
}

.float.left {
  float: left;
}

h3 {
  font-weight: normal;
}

.relative {
  position: relative;
}

.overflow {
  overflow: hidden;
}

.d-n {
  display: none;
}

.d-b {
  display: block;
}

.flex {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}
.flex.column {
  flex-direction: column;
}
.flex.wrap {
  flex-wrap: wrap;
}
.flex.center {
  justify-content: center;
}
.flex.justify {
  justify-content: space-between;
}
.flex.end {
  justify-content: flex-end;
}
.flex.top {
  align-content: flex-start;
  align-items: flex-start;
}
.flex.bottom {
  align-content: flex-end;
  align-items: flex-end;
}

/* Viditelný focus jen při ovládání klávesnicí */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* Vypnutí animací pro uživatele s omezením pohybu */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

input {
  appearance: none;
  -webkit-appearance: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}

textarea {
  resize: none;
}
