  /* úprava stávajícího */
  header {
    position: sticky !important;
    top: 0;
    z-index: 10;
  }

  .header-row,
  .mobile-menu,
  .mobile-menu-subjects {
    background: white;
  }

  footer {
    z-index: 10;
    background: white;
  }

  body {
    background: #F1F1F2
  }

  #content {
    padding-top: 0;
  }

  /* vyhledávání */
    span.highlight {
      border-bottom: 3.5px solid var(--gray);
    }

    .overlay-layer.overlay-search {
        align-items: flex-start;
        padding: 10px;
      }
  
    .overlay-layer.overlay-search .search-overlay-content {
      width: 700px;
      max-height: calc(95% - 100px);
      padding: 15px;
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto minmax(300px, min-content) auto;
      top: 100px;
    }

    @media screen and (max-width: 700px) {
      .overlay-layer.overlay-search .search-overlay-content {
        top: 0;
        width: 100%;
      }
    }
  
    .input-query-class {
      text-align: center;
      font-style: italic;
      color: var(--gray);
    }
  
    .search-overlay-content>div:last-child {
      display: grid;
    }
  
    .search-close {
      justify-self: end;
    }

  /* boxy pro obrázky */
  .imgbox {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--unit) * 3);
  }

  .imgbox img,
  .imgbox > img.clickable {
    width: 100%;
  }

  img.clickable {cursor: pointer;}

  details img.clickable {
    width: calc(100% - 2rem);
  }

   details p:last-of-type {
    margin-bottom: 0;
  }

  .imgbox p {
    font-style: italic;
    margin-bottom: 0;
    margin-top: var(--unit);
  }

  .w-30 {
    width: 30%;
  }

  .w-40 {
    width: 40%;
  }

  .w-50 {
    width: 50%;
  }

  .w-60 {
    width: 60%;
  }

  .w-70 {
    width: 70%;
  }

  .w-80 {
    width: 80%;
  }

  .overlayLayerImage {
    display: block;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }

  .overlayLayerImage.shown {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
  }

  @media screen and (max-width: 550px) {
    .w-30,
    .w-40,
    .w-50,
    .w-60,
    .w-70,
    .w-80 {
      width: 100%;
    }
  }

  /* kontejner */
  .manual-container {
    max-width: 1310px;
    display: grid;
    grid-template-columns: 310px auto;
    margin-left: auto;
    margin-right: auto;
    /* border: 1px solid var(--lightGrayHover); */
    /* box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.1); */
    border-radius: var(--unit);
    margin-bottom: 15px;
    margin-top: 15px;
    gap: 15px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .manual-container>div, .manual-container>nav {
    padding: calc(var(--unit) * 3);
    border: 1px solid var(--lightGrayHover);
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.05);
    border-radius: var(--unit);
    background: white;
  }

  .menu-links {
    display: flex;
    flex-direction: column;
    gap: calc(var(--unit) / 3);
    align-items: flex-start;
  }

  .manual-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .manual-menu-close {
    cursor: pointer;
    position: sticky;
    top: 0;
    right: 0;
    width: min-content;
    float: inline-end;
  }

  .manual-menu-close img {
    width: 20px;
    height: 20px;
  }

  /* .manual-content {
    border-top-right-radius: var(--unit);
    border-bottom-right-radius: var(--unit);
  } */

  /* samotný obsah */

  .manual-content h2 {
    margin: calc(var(--unit) * 3.25) 0 calc(var(--unit) * 1.75) 0;
  }

  .manual-content p:has(+ ul), .manual-content h2:has(+ ul) {
    margin-bottom: 0;
  }

  .manual-content ul,
  .manual-content p {
    margin-bottom: 12px;
  }

  .manual-content span.question {display: flex; gap: var(--unit); align-items: center;
    /* font-weight: bold; */
    margin-top: 20px;}
  .manual-content span.question:before {content: ''; background: url("https://www.umimeto.org/asset/global/img/icons-umime/speech_bubbles.svg") center no-repeat; background-size: 100%; display: flex; width: 22px; height: 22px; flex-shrink: 0; align-items: center; justify-content: center;}

  /* menu */
  .manual-menu {
    scrollbar-color: transparent transparent;
    transition: 0.5s;
  }

  .manual-menu:hover {
    scrollbar-color: var(--gray) transparent;
  }

  .manual-menu a, .manual-menu span {
    display: inline-block;
    width: auto;
    padding: 6px 8px;
    border-radius: var(--unit);
    /* margin-left: 22px; */
  }

  .manual-menu a:hover {
    text-decoration: none;
    background-color: #ebf5fb;
  }

  .manual-menu span.active,
  .manual-menu span.active:hover {
    /* background: var(--lightGray); */
    font-weight: 600;
    color: var(--black);
  }

  .manual-content h1 {
    margin-top: 0;
  }

  span.manual-action {
    background: var(--lightGray);
    border-radius: calc(var(--unit) * 0.75);
    padding: 3px;
  }

  .manual-menu h2 {
    display: flex;
    align-items: start;
    flex-wrap: nowrap;
    justify-content: flex-start;
    font-size: 18px;
    margin-bottom: calc(var(--unit) / 2);
    margin-top: calc(var(--unit) * 2);
    text-transform: uppercase;
    font-weight: 300;
    color: var(--grayHover);
    cursor: pointer;
    user-select: none;
    gap: calc(var(--unit) / 2);
  }

  .manual-menu h2:first-of-type {
    margin-top: 0;
  }

  .quick-links {
    margin-bottom: calc(var(--unit) * 3.25);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .quick-links a {
    display: block;
    border-radius: var(--unit);
    border: 1px solid var(--blue);
    padding: 7px;
  }

  .quick-links a:hover {
    background: var(--blue);
    text-decoration: none;
    color: var(--white);
  }

  .manual-menu .menu-links {
    opacity: 1;
    max-height: 1000px;
    transition:
      opacity 0.3s ease-in-out,
      max-height 0.3s ease-in-out;
    overflow: hidden;
  }

  .manual-menu .menu-closed+.menu-links {
    opacity: 0;
    max-height: 0;
  }

  .manual-menu h2::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 22px;
    background: url("https://www.umimeto.org/asset/global/img/icons-umime/icon-triangle-grayHover.svg") center no-repeat;
    background-position: 50% 100%;
    transform: rotate(90deg);
    background-size: contain;
    transform-origin: 50% 50%;
    font-size: 90%;
    flex-shrink: 0;
  }

  .manual-menu h2.menu-closed::before {
    transform: rotate(0);
  }

  .manual-important {
    background: var(--lightGray) url("https://www.umimeto.org/asset/global/img/icons-umime/icon-bulb.svg") 10px 10px no-repeat;
    border-radius: calc(1 * var(--unit));
    padding: 10px 10px 10px 50px;
    min-width: min-content;
    max-width: 70%;
  }

  @media screen and (min-width: 650px) {

    .menu-icon,
    .manual-menu-close {
      display: none;
    }
  }

    .manual-search-toggler {display: flex;}


  .manual-menu-close {
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    background-color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
  }

  .manual-menu-close:hover {
    background: var(--faintBlue);
  }

  @media screen and (max-width: 650px) {
    .manual-container {
      grid-template-columns: 1fr;
      border-radius: 0;
      padding: 0;
    }

    .manual-menu-close {
      display: flex;
    }

    .manual-menu-close {position: fixed;
      top: 24px; right: 24px;}

    .manual-container>nav {
      opacity: 0;
      display: none;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      overflow-y: scroll;
      width: 100%;
      height: 100%;
      z-index: 15;
      padding: 24px;
      border: 0;
      border-radius: 0;
      scrollbar-color: var(--gray) transparent;
    }

    .manual-content, .manual-container>div {
      border-radius: 0;
    }
  }

  @media screen and (max-width: 1100px) {
    .manual-important {
      max-width: 100%;
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes fadeOut {
    from {
      opacity: 1;
    }

    to {
      opacity: 0;
    }
  }