/* ilustrace ------------------------------------ */
.title-cont {
  align-items: flex-start;
}
.illustration-cont {
  align-items: flex-start;
}
.illustration {
  position: relative;
  transform: scale(0.9) translateX(10px);
  width: 900px;
  height: 500px;
}
@media screen and (max-width: 1408px) {
  .illustration-cont {
    margin-left: -8rem;
  }
  .illustration {
    transform: scale(0.8) translateX(70px);
  }
}
@media screen and (max-width: 1215px) {
  .illustration-cont {
    display: none;
  }
  .title-cont {
    display: block;
  }
}
.illustration > * {
  position: absolute;
}
.illustration > a {
  width: 140px;
  min-height: 48px !important;
  text-align: center;
  justify-content: center;
}
.illustration > a.is-active {
  background-color: var(--orange-bg);
  color: var(--orange);
}
.illustration > a.is-active:hover {
  color: white;
}
#zahrada_zem {
  margin-top: 80px;
  margin-left: 10px;
  z-index: 46;
}
#zahrada_ilustrace {
  margin-top: 55px;
  margin-left: 300px;
  z-index: 48;
}
#zahrada_A {
  margin-top: 275px;
  margin-left: 118px;
  z-index: 50;
}
#zahrada_B {
  margin-top: 100px;
  margin-left: 675px;
  z-index: 49;
}
#zahrada_C {
  margin-top: 100px;
  margin-left: 370px;
  z-index: 47;
}
#zahrada_D {
  margin-top: 103px;
  margin-left: 185px;
  z-index: 47;
}
#zahrada_button_C {
  margin-top: 10px;
  margin-left: 495px;
  z-index: 60;
}
#zahrada_button_D {
  margin-top: 140px;
  margin-left: 25px;
  z-index: 60;
}
#zahrada_button_B {
  margin-top: 273px;
  margin-left: 800px;
  z-index: 60;
}
#zahrada_button_A {
  margin-top: 453px;
  margin-left: 355px;
  z-index: 60;
}

/* sides table ---------------------------------------- */
.side:nth-child(even) {
  background-color: var(--blue-bg-2);
}
.side:nth-child(odd) {
  background-color: var(--blue-bg-1);
}
.side.is-active {
  background-color: var(--orange-bg);
}
.side {
  width: 100%;
  padding: 1.2rem 1rem;
  justify-content: space-between !important;
  margin-bottom: 0.5rem;
}
.side .name {
  font-size: 24px;
  color: var(--blue);
  font-weight: 600;
  padding: 0 1rem;
  flex-shrink: 0;
}
.side .length {
  font-size: 20px;
  color: var(--orange);
  font-weight: 600;
  padding: 0 2rem;
  flex-shrink: 0;
}
.side .details {
  flex: 1;
  padding: 0 1rem;
  color: var(--blue);
}
.side .actions {
  padding: 0 0.5rem 0 1rem;
  flex-shrink: 0;
}
.side .actions .mobile {
  display: none;
}
.side .actions .btn.blue {
  margin-left: 0.5rem;
}
.side-visual {
  width: 100%;
  margin: -0.2rem 0 0.85rem 0;
  padding: 1.15rem 1.25rem 1.2rem;
  color: var(--blue);
  background-color: white;
  border: 1px solid var(--blue-bg-3);
}
.side-visual.is-active {
  border-color: var(--orange-bg);
  box-shadow: inset 4px 0 0 var(--orange);
}
.side-visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.side-visual-orientation {
  width: 250px;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 130%;
}
.side-visual-icons {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  flex-wrap: wrap;
}
.side-visual-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 42px;
}
.side-visual-summary-text {
  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  text-align: center;
}

.side-visual-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background-color: var(--blue-bg-1);
  border: 1px solid var(--blue-bg-3);
}
.side-visual-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.side-visual-icon::before {
  content: "";
  display: block;
}
.side-visual-icon-pletivo::before {
  width: 24px;
  height: 22px;
  border: 2px solid var(--blue);
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 5px, rgba(45, 86, 105, 0.75) 5px, rgba(45, 86, 105, 0.75) 7px), repeating-linear-gradient(0deg, transparent 0, transparent 5px, rgba(45, 86, 105, 0.75) 5px, rgba(45, 86, 105, 0.75) 7px);
}
.side-visual-icon-sloupek::before {
  width: 7px;
  height: 28px;
  background-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(45, 86, 105, 0.12);
}
.side-visual-title {
  margin: 0;
  color: var(--blue);
  font-size: 19px;
  font-weight: 600;
}
.side-visual-subtitle {
  margin-top: 0.25rem;
  max-width: 58rem;
  color: var(--blue);
  font-size: 14px;
  line-height: 140%;
}
.side-visual-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.side-visual-length {
  color: var(--orange);
  font-size: 19px;
  font-weight: 600;
  white-space: nowrap;
}
.side-info {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--blue);
  cursor: pointer;
}
.side-info:hover {
  background-color: var(--blue-hover);
}
.side-info ion-icon {
  font-size: 24px;
}
.side-visual-diagram {
  display: flex;
  align-items: center;
  margin-top: 1.15rem;
  min-height: 92px;
  padding-bottom: 16px;
}
.side-post {
  width: 9px;
  height: 58px;
  flex-shrink: 0;
  background-color: var(--blue);
}
.side-fence-line {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 54px;
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  background-color: rgba(45, 86, 105, 0.03);
}
.side-visual.has-segments .side-visual-diagram {
  padding-bottom: 64px;
}
.side-fence-line.has-segments {
  border-color: transparent;
  background-color: transparent;
}
.side-plot-segments {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.side-plot-segment {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  height: 54px;
  min-width: 1px;
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  border-left: 1px solid rgba(45, 86, 105, 0.4);
  border-right: 1px solid rgba(45, 86, 105, 0.4);
  background-color: rgba(45, 86, 105, 0.035);
}
.side-plot-segment strong {
  position: absolute;
  left: 50%;
  bottom: -44px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  transform: translateX(-50%);
  white-space: nowrap;
}
.side-plot-segment.is-long {
  background: linear-gradient(90deg, rgba(45, 86, 105, 0.075), rgba(45, 86, 105, 0.015) 38%, rgba(45, 86, 105, 0.015) 62%, rgba(45, 86, 105, 0.075));
}
.side-plot-segment.is-long::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 36px;
  background: white;
  transform: translateX(-50%);
  z-index: 1;
}
.side-plot-segment-break {
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--blue);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.side-plot-segment-range {
  display: none;
  position: absolute;
  top: 48%;
  z-index: 1;
  max-width: 44%;
  padding: 0.06rem 0.25rem;
  color: var(--blue);
  background: white;
  border: 1px solid rgba(45, 86, 105, 0.18);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(45, 86, 105, 0.06);
  transform: translateY(-50%);
  white-space: nowrap;
}
.side-plot-segment.has-ranges .side-plot-segment-range {
  display: block;
}
.side-plot-segment-ranges {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.side-plot-segment-ranges .side-plot-segment-range {
  display: block;
}
.side-plot-segment-ranges .side-plot-segment-range.is-end {
  right: auto;
  transform: translate(-100%, -50%);
}
.side-plot-segment-range.is-start {
  left: 0.3rem;
}
.side-plot-segment-range.is-end {
  right: 0.3rem;
}
.side-plot-short-pieces {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.side-plot-short-piece {
  box-sizing: border-box;
  position: absolute;
  top: 3px;
  height: 48px;
  min-width: 7px;
  border: 1px solid rgba(63, 152, 207, 0.55);
  background: rgba(117, 190, 235, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  cursor: pointer;
  pointer-events: auto;
}
.side-plot-short-piece:hover {
  border-color: rgba(30, 123, 184, 0.95);
  background: rgba(117, 190, 235, 0.42);
}
.side-short-piece-note {
  display: inline-block;
  padding: 0 0.22rem;
  color: black;
  background: rgba(117, 190, 235, 0.28);
  border-radius: 2px;
}
.side-fence-line.has-segments .side-fence-posts,
.side-fence-line.has-segments .side-missing-posts {
  display: none;
}
.side-meter-ticks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 34px;
  z-index: 2;
  pointer-events: none;
}
.side-meter-ticks span {
  position: absolute;
  top: 0;
  width: 1px;
  height: 17px;
  background-color: rgba(45, 86, 105, 0.44);
  transform: translateX(-50%);
}
.side-meter-ticks em {
  position: absolute;
  left: 50%;
  top: 23px;
  color: rgba(45, 86, 105, 0.62);
  font-size: 8px;
  font-style: normal;
  line-height: 1;
  transform: translateX(-50%);
}
@media screen and (max-width: 900px) {
  .side-meter-ticks span {
    display: none;
  }
  .side-meter-ticks span.is-tablet {
    display: block;
  }
}
@media screen and (max-width: 560px) {
  .side-plot-segment strong {
    bottom: -42px;
    font-size: 17px;
  }
  .side-plot-segment-range {
    display: none !important;
  }
  .side-meter-ticks span.is-tablet {
    display: none;
  }
  .side-meter-ticks span.is-mobile {
    display: block;
  }
}

.side-missing-posts {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.side-missing-posts span {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 56px;
  background-color: #c9f2c7;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85);
  transform: translate(-50%, -50%);
}

.side-fence-posts {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.side-fence-posts span {
  position: absolute;
  top: 50%;
  width: 4px;
  height: 56px;
  background-color: var(--blue);
  border-radius: 1px;
  box-shadow: 0 0 0 1px white;
  transform: translate(-50%, -50%);
}
.side-segment-posts {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.side-segment-posts span {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 50px;
  background-color: rgba(45, 86, 105, 0.78);
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85);
  transform: translate(-50%, -50%);
}

.side-fence-label {
  position: absolute;
  left: 0.75rem;
  top: -1.55rem;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.side-gates {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.side-gates.is-overflow {
  overflow: visible;
}
.side-gate-chip {
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  min-width: 8px;
  height: 50px;
  padding: 0.35rem 0.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--orange);
  border-radius: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.65);
  text-align: center;
  line-height: 130%;
  box-shadow: inset 2px 0 0 var(--blue), inset -2px 0 0 var(--blue);
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}
.side-gate-gap {
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  min-width: 1px;
  height: 50px;
  background-color: #c9f2c7;
  border: 0;
  box-shadow: none;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: auto;
}
.side-gate-chip.is-overflow {
  background-color: #b5402d;
}
.side-gate-chip span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}
.side-gate-error {
  margin-top: 0.5rem;
  color: #b5402d;
  font-size: 14px;
  font-weight: 600;
}
.side-gate-chip em {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-style: normal;
}
.side-real-ruler-wrap {
  display: flex;
  align-items: flex-start;
  margin: 0.35rem 0 1.1rem;
  min-height: 46px;
}
.side-real-ruler-edge {
  width: 9px;
  flex-shrink: 0;
}
.side-real-ruler-line {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 18px;
  border-top: 4px solid rgba(45, 86, 105, 0.92);
}
.side-real-ruler-ticks,
.side-real-ruler-gates,
.side-real-ruler-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.side-real-ruler-ticks span {
  position: absolute;
  top: -4px;
  width: 1px;
  height: 13px;
  background: rgba(45, 86, 105, 0.45);
  transform: translateX(-50%);
}
.side-real-ruler-gates span {
  position: absolute;
  top: -10px;
  width: 4px;
  height: 23px;
  border-radius: 1px;
  background: var(--orange);
  box-shadow: 0 0 0 1px white;
  transform: translateX(-50%);
}
.side-real-ruler-label {
  position: absolute;
  top: 16px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transform: translateX(-50%);
  white-space: nowrap;
}
.side-real-ruler-label.is-gate {
  top: -22px;
  color: var(--orange);
}
.side-real-ruler-label.is-start {
  transform: translateX(-50%);
}
.side-real-ruler-label.is-end {
  transform: translateX(-100%);
}
.side-detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.8rem 2rem;
  margin-top: 0.9rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(45, 86, 105, 0.16);
  border-bottom: 1px solid rgba(45, 86, 105, 0.16);
}
.side-detail-column {
  min-width: 0;
}
.side-detail-column-segments {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(45, 86, 105, 0.16);
}
.side-gate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1.5rem;
  margin-top: 0.8rem;
  font-size: 14px;
  line-height: 140%;
}
.side-gate-list p {
  min-width: 0;
  margin: 0;
}
.side-gate-list b {
  color: var(--orange);
}
.side-gate-list-link {
  color: var(--blue);
}
.side-gate-list-link:hover {
  color: var(--orange);
}
.side-gate-list-gap {
  display: inline-block;
  padding: 0 0.22rem;
  color: black;
  background: #c9f2c7;
  border-radius: 2px;
  font-weight: 400;
}
.side-gate-list-start {
  color: var(--orange);
  font-weight: 400;
}
.side-segment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
  margin-top: 0.9rem;
  padding: 0.75rem 0 0.75rem;
  border-top: 1px solid rgba(45, 86, 105, 0.16);
  border-bottom: 1px solid rgba(45, 86, 105, 0.16);
  color: var(--blue);
  font-size: 12px;
  line-height: 140%;
}
.side-detail-columns .side-gate-list,
.side-detail-columns .side-segment-list {
  grid-template-columns: 1fr;
  margin-top: 0;
  padding: 0;
  border: 0;
}
.side-segment-list h4 {
  grid-column: 1 / -1;
  margin: 0 0 0.15rem;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.side-segment-list p {
  min-width: 0;
  margin: 0;
  padding-left: 0.6rem;
  border-left: 2px solid rgba(255, 133, 12, 0.55);
}
.side-segment-list .side-segment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}
.side-segment-list .side-segment-part {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}
.side-segment-list .side-segment-part:not(:last-child)::after {
  content: "|";
  display: inline-block;
  margin: 0 0.45rem;
  color: var(--blue);
}
.side-segment-list b {
  color: var(--orange);
  font-weight: 800;
}

.side-gate-ol {
  list-style: none;
  padding-left: 0;
}
.side-gate-ol li {
  margin-left: 0 !important;
  list-style: none !important;
  line-height: 140%;
  padding-left: 0;
  border-left: 2px solid rgba(255, 133, 12, 0.55);
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
}
.side-gate-ol li::before {
  content: attr(value) ". ";
  font-weight: bold;
  color: var(--orange);
  flex-shrink: 0;
  width: 2.5em;
  padding-left: 0.6rem;
  padding-right: 0.3rem;
}
.side-gate-ol li a {
  display: inline;
  flex: 1;
}

.side-gate-edit-modal .modal-content {
  width: min(1320px, calc(100vw - 3rem)) !important;
}
.side-segment-edit-modal .modal-content {
  width: min(820px, calc(100vw - 3rem)) !important;
}
.side-gate-edit-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.side-gate-position-visual {
  position: relative;
  min-height: 130px;
  overflow: hidden;
  border: 1px solid #d8e0e4;
  background: #f5f8fa;
}
.side-gate-position-line {
  position: absolute;
  left: 58px;
  right: 60px;
  top: 76px;
  height: 5px;
  background: var(--blue);
}
.side-gate-position-post,
.side-gate-position-gate-post {
  position: absolute;
  top: 38px;
  width: 14px;
  height: 76px;
  background: var(--blue);
}
.side-gate-position-post.is-left {
  left: 58px;
}
.side-gate-position-gate-post {
  left: 48%;
  background: #27815d;
}
.side-gate-position-gate {
  position: absolute;
  left: calc(48% + 14px);
  top: 48px;
  width: 210px;
  height: 58px;
  border: 6px solid #27815d;
  background:
    linear-gradient(135deg, transparent 46%, rgba(39, 129, 93, 0.35) 47%, rgba(39, 129, 93, 0.35) 53%, transparent 54%) 0 0 / 18px 18px,
    linear-gradient(45deg, transparent 46%, rgba(39, 129, 93, 0.35) 47%, rgba(39, 129, 93, 0.35) 53%, transparent 54%) 0 0 / 18px 18px,
    #fff;
}
.side-gate-position-arrow {
  position: absolute;
  left: 80px;
  right: calc(52% + 6px);
  top: 38px;
  height: 0;
  border-top: 2px solid var(--orange);
}
.side-gate-position-arrow::before,
.side-gate-position-arrow::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--orange);
}
.side-gate-position-arrow::before {
  left: 0;
  border-left: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.side-gate-position-arrow::after {
  right: 0;
  border-right: 2px solid var(--orange);
  transform: rotate(45deg);
}
.side-gate-position-label {
  position: absolute;
  left: 88px;
  top: 12px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 800;
}
.side-gate-edit-panel {
  padding: 1.25rem;
  background: #f0f3f5;
  border-left: 6px solid var(--orange);
}
.side-gate-edit-panel h3,
.side-gate-edit-rozmery h3 {
  margin: 0 0 0.55rem;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
  line-height: 130%;
}
.side-gate-edit-panel p {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 15px;
  line-height: 150%;
}
.side-gate-edit-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--blue);
  font-weight: 700;
}
.side-gate-edit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.side-gate-edit-helper-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.side-gate-edit-helper {
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border: 2px solid rgba(45, 86, 105, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue);
  background: white;
  font-size: 13px;
  font-weight: 700;
  line-height: 130%;
}
.side-gate-edit-helper:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.side-gate-edit-helper ion-icon {
  flex-shrink: 0;
  color: var(--orange);
  font-size: 18px;
}
.side-gate-edit-helper-note {
  color: rgba(45, 86, 105, 0.72);
  font-size: 12px;
  line-height: 130%;
}
.side-segment-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.9rem 0 1rem;
}
.side-segment-choice {
  min-height: 58px;
  padding: 0.75rem 0.9rem;
  border: 2px solid rgba(45, 86, 105, 0.22);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--blue);
  background: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.side-segment-choice:hover {
  border-color: var(--orange);
}
.side-segment-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}
.side-segment-edit-actions {
  margin-top: 0.4rem;
}
.side-gate-edit-panel .btn {
  color: white !important;
}
.side-gate-edit-panel .btn:hover {
  color: white !important;
}
.side-gate-edit-panel .btn ion-icon,
.side-gate-edit-panel .btn span {
  color: inherit;
}
.side-gate-edit-input-wrap {
  display: flex;
  align-items: center;
  min-height: 50px;
  margin-right: 0.85rem;
  border: 2px solid var(--orange);
  background: #fff800;
}
.side-gate-edit-input-wrap span {
  padding: 0 0.8rem 0 0.2rem;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}
.side-gate-edit-input {
  width: 160px;
  min-height: 46px;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  outline: none;
}
.side-gate-edit-rozmery {
  max-width: 100%;
  overflow-x: auto;
  padding: 1.25rem;
  background: #f0f3f5;
}
.atyp_report_wrap {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 10px 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 100%;
  box-sizing: border-box;
  font-size: 13px !important;
  line-height: 1.35 !important;
}
.atyp_report_text {
  flex: 0 1 380px;
  min-width: 260px;
  max-width: 380px;
  box-sizing: border-box;
  font-size: 13px !important;
  line-height: 1.35 !important;
}
.atyp_report_img_wrap {
  flex: 0 1 350px;
  min-width: 250px;
  max-width: 350px;
  box-sizing: border-box;
}
.atyp_report_img {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
}
.atyp_report_table_wrap {
  flex: 1 1 760px;
  min-width: 260px;
  max-width: 760px;
  box-sizing: border-box;
}
.atyp_report_table {
  border-collapse: collapse;
  table-layout: auto;
  width: 100%;
  font-size: 13px !important;
  line-height: 1.35 !important;
}
.atyp_report_cell {
  padding: 4px 8px !important;
  border: 1px solid #ddd !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  vertical-align: top !important;
}
.atyp_report_cell_code {
  text-align: left !important;
  white-space: nowrap !important;
}
.atyp_report_cell_value {
  text-align: right !important;
  white-space: nowrap !important;
}
.atyp_report_cell_text {
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: break-word;
}
.atyp_report_row_input {
  background: #fff8d5;
  font-weight: bold;
}
.atyp_report_row_total {
  background: var(--orange-bg);
  font-weight: bold;
}
.side-gate-edit-rozmery .atyp_report_table_wrap {
  flex: 1 0 100% !important;
  max-width: 100%;
  overflow-x: auto;
}
.side-gate-edit-rozmery .atyp_report_table {
  max-width: 100%;
}
.side-gate-edit-rozmery > .atyp-rozmery > div:last-child {
  flex: 1 0 100% !important;
  max-width: 100%;
  overflow-x: auto;
}
.side-gate-edit-rozmery table.atyp-rozmery {
  max-width: 100%;
}
@media print {
  .atyp_report_table,
  .atyp_report_table th,
  .atyp_report_table td {
    border: 1px solid black !important;
  }
}
@media screen and (max-width: 900px) {
  .side-gate-edit-modal .modal-content,
  .side-segment-edit-modal .modal-content {
    width: calc(100vw - 1rem) !important;
  }
  .side-segment-choice-row {
    grid-template-columns: 1fr;
  }
  .side-gate-position-gate {
    width: 140px;
  }
}
.side-visual-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
  margin-top: 0.85rem;
  font-size: 14px;
  line-height: 140%;
}
.side-visual-meta p {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 1024px) {
  .side .details {
    display: none;
  }
  .side .length {
    padding: 0 1rem;
    flex: 1;
  }
}
@media screen and (max-width: 610px) {
  .side {
    padding: 1rem 1rem;
  }
  .side .name {
    font-size: 20px;
    padding: 0;
  }
  .side .length {
    font-size: 16px;
    padding: 0;
    padding-left: 2rem;
  }
  .side .actions {
    padding: 0;
  }
  .side .actions .mobile {
    display: flex;
    width: 2.8rem;
    height: 2.8rem;
  }
  .side .actions .mobile ion-icon {
    font-size: 1.2rem;
    --ionicon-stroke-width: 40px;
    color: white;
  }
  .side .actions .mobile.orange {
    background-color: var(--orange);
  }
  .side .actions .mobile.blue {
    background-color: var(--blue);
    margin-left: 0.5rem;
  }
  .side .actions .btn {
    display: none;
  }
  .side-visual {
    padding: 0.85rem;
  }
  .side-visual-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .side-visual-orientation {
    width: 100%;
    font-size: 12px;
  }
  .side-visual-title {
    font-size: 17px;
  }
  .side-visual-subtitle {
    display: none;
  }
  .side-fence-posts span {
    height: 48px;
  }
  .side-segment-posts span {
    height: 46px;
  }
  .side-visual-length {
    font-size: 16px;
  }
  .side-info {
    width: 38px;
    height: 38px;
  }
  .side-visual-diagram {
    min-height: 66px;
  }
  .side-post {
    height: 50px;
  }
  .side-fence-line {
    height: 48px;
  }
  .side-fence-label {
    display: none;
  }
  .side-gate-chip {
  box-sizing: border-box;
    min-width: 8px;
  }
  .side-real-ruler-wrap {
    min-height: 42px;
    margin-bottom: 0.9rem;
  }
  .side-real-ruler-label {
    font-size: 10px;
  }
  .side-real-ruler-gates span {
    width: 3px;
    height: 20px;
  }
  .side-visual-meta {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .side-visual-icon {
    width: 36px;
    height: 36px;
  }
  .side-visual-icon-pletivo::before {
    width: 22px;
    height: 20px;
  }
  .side-visual-icon-sloupek::before {
    height: 24px;
  }
  .side-detail-columns {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .side-detail-column-segments {
    padding-left: 0;
    padding-top: 0.75rem;
    border-left: 0;
    border-top: 1px solid rgba(45, 86, 105, 0.16);
  }
  .side-gate-list {
    grid-template-columns: 1fr;
  }
  .side-segment-list {
    grid-template-columns: 1fr;
    font-size: 12px;
  }

}

.overview .divider {
  margin: 4rem 0 2rem 0;
  width: 100%;
  height: 1px;
  background-color: var(--blue-bg-3);
}

/* comp table ---------------------------------------- */
.table-header {
  background-color: var(--blue);
  color: white;
  display: flex;
  margin-bottom: 0.5rem;
}
.table-header > div {
  padding: 1rem;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 140%;
}
.col-photo {
  width: 13rem;
  flex-shrink: 0;
}
.table-row img {
  width: 11rem !important;
  height: 6rem !important;
  object-fit: cover;
}
.col-fixed {
  width: 9rem;
  flex-shrink: 0;
}
.col-fill {
  flex: 1;
}
.col-name {
  flex: 1.5;
  font-weight: 600;
}
.table-row {
  margin-bottom: 0.5rem;
  color: var(--blue);
  font-weight: 500;
}
.table-result {
  padding: 0.5rem 0;
  color: var(--blue);
  font-weight: 500;
  background-color: var(--orange-bg);
}
.table-result > div {
  padding: 1rem;
  text-align: center;
}
.table-result > .col-fill {
  font-size: 14px;
}
.table-row > div {
  padding: 1rem;
}
.table-row:nth-of-type(even) {
  background-color: var(--blue-bg-1);
}
.table-row:nth-of-type(odd) {
  background-color: var(--blue-bg-2);
}
.col-fixed {
  text-align: center;
}
.table-row .smaller {
  font-size: 14px;
}

.table-btn {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-size: 14px;
  padding: 0 0.8rem;
  font-weight: 600;
  text-align: center;
}

.table-row:nth-of-type(even) .table-btn {
  background-color: var(--blue-bg-2);
}
.table-row:nth-of-type(odd) .table-btn {
  background-color: var(--blue-bg-1);
}


.table-btn.full-width {
  width: 100%;
}
.table-btn:hover {
  cursor: pointer;
  background-color: var(--blue-hover-2);
}
.table-row .flex-row input {
  width: calc(100% - 2rem);
  min-width: 60px;
  margin-right: 0.5rem;
  height: 35px;
  border: 1px var(--blue-bg-3) solid;
  padding: 0 0.6rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  border-radius: 0;
}
@media screen and (max-width: 1408px) {
  .table-cont {
    min-width: 100%;
    overflow-x: scroll;
  }
  .comp-table {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .col-photo {
    width: 8rem;
  }
  .table-row img {
    width: 10rem;
    height: 5rem;
    object-fit: cover;
  }
}
/* comp actions ---------------------------------------- */
.comp-actions {
  background-color: var(--blue-bg-1);
  padding: 2.5rem;
  align-items: flex-start !important;
}
.comp-actions > div:first-of-type {
  flex: 1;
}
.comp-actions > div:last-of-type {
  flex: 1.5;
}
.comp-actions .h4 {
  padding-bottom: 1.5rem;
}
.comp-actions .div {
  width: 1px;
  height: 10rem;
  background-color: var(--blue-bg-3);
  margin: 0 3rem;
}
.comp-actions .btn:nth-of-type(2) {
  margin-top: 0.8rem;
}
.comp-actions .flex-row {
  gap: 0.8rem;
}
.comp-actions .flex-row input {
  flex: 1;
  width: 100%;
}
.comp-actions .send > * {
  display: flex;
}
.comp-actions .send {
  justify-content: flex-start;
  padding-top: 0.8rem;
  gap: 1.4rem;
}
/*
ZRUSENO ORIGINAL, zkousim responsivni pristup - pozor na mensich obrazovkach se zacne hroutit tabulka..
@media screen and (max-width: 1408px) {
  .comp-table {
    width: 1300px;
  }
}
*/

@media screen and (max-width: 1300px) {
  .comp-table {
    width: 100%;
  }
}

@media screen and (max-width: 1215px) {
  .comp-actions {
    flex-direction: column !important;
  }
  .comp-actions .div {
    height: 1px;
    width: 100%;
    margin: 2rem 0;
  }
}
@media screen and (max-width: 600px) {
  .inputs,
  .send {
    flex-direction: column !important;
  }
  .send .btn {
    width: 100%;
    justify-content: center;
  }
}
/* transport ---------------------------------------- */
.section-cont {
  background-color: var(--blue-bg-1);
  padding: 2.5rem;
}
.section-cont > .flex-row {
  align-items: flex-start;
  gap: 3rem;
}
.section-cont > .flex-row > div:first-of-type {
  flex: 1;
}
.section-cont > .flex-row > div:last-of-type {
  flex: 1.5;
}
.section-cont .divider {
  margin: 2rem 0;
}
.psc-cont {
  background-color: var(--orange-bg);
  padding: 1rem;
  width: 100%;
  color: var(--blue);
}
.dph,
.psc {
  gap: 0.8rem;
  justify-content: flex-start;
}
.dph input,
.psc input {
  width: 100%;
  max-width: 18rem;
}
.section-cont .info {
  color: var(--blue);
}
#section-3 > .flex-row > div {
  flex: 1;
}
@media screen and (max-width: 820px) {
  .section-cont > .flex-row {
    flex-direction: column;
    gap: 3rem;
  }
  .section-cont > .flex-row > div {
    flex: 1 !important;
    width: 100%;
  }
  .section-cont,
  .comp-actions {
    padding: 2rem;
  }

  .col-photo {
    width: 9rem;
    flex-shrink: 0;
  }  
  .col-fixed {
    width: 8rem;
    flex-shrink: 0;
  }
  .table-row > div {
    padding: 0.5rem;
  }    
  .table-row img {
    width: 9rem !important;
    height: 5rem !important;
    object-fit: cover;
  }

}


.ammount {
  font-size: 17px;
  font-weight: 600;
}
