/* node_modules/@sealcode/sealgen/src/forms/forms.css */
.form-message {
  --color: black;
  border: 1px solid var(--color);
  border-radius: 5px;
  padding: 10px;
}
.form-message--error {
  --color: #ff4136;
}
.form-message--success {
  --color: #2ecc40;
}
.form__error {
  color: #ff4136;
}
.form-input__wrapper--checkbox {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  & > input[type=checkbox] {
    width: 15px;
    height: 15px;
    + label {
      padding-left: 10px;
    }
  }
}
.form-input__wrapper--multiple-files--photos {
  ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 10px;
    margin-bottom: 20px;
    li {
      background-color: white;
      box-shadow: 1px 1px 6px 0px #00000038;
      padding: 10px;
      display: grid;
      grid-template-columns: 1fr 20px;
      grid-template-rows: 20px auto min-content;
      grid-row-gap: 10px;
      a {
        grid-row: 1/3;
        grid-column: 1/3;
        picture,
        img {
          width: 100%;
          height: 150px;
          object-fit: contain;
        }
      }
      .filename {
        grid-row: 3/4;
        grid-column: 1/3;
      }
      form {
        grid-row: 1/2;
        grid-column: 2/3;
        position: relative;
        z-index: 2;
      }
    }
  }
}
.file-list-item {
  display: flex;
  flex-flow: row;
  form {
    padding-left: 20px;
  }
}

/* src/back/jdd-components/autoscrolling-images/autoscrolling-images.css */
.autoscrolling-images {
  display: flex;
  justify-content: center;
}
.autoscrolling-images-wrapper {
  display: grid;
  gap: 24px;
}
.autoscrolling-images__title-wrapper {
  max-width: 940px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.autoscrolling-images__title {
  font-size: 32px;
  color: #0d4d69;
  margin: 0;
}
.autoscrolling-images__arrow-carousel-container {
  position: absolute;
  top: -51px;
  right: -90px;
  width: 92px;
  overflow-x: hidden;
}
.autoscrolling-images__arrow-carousel {
  transition: none !important;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
}
.autoscrolling-images__arrow-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  scroll-snap-align: start;
  flex: 1 0 100%;
}
.autoscrolling-images__arrow img {
  max-width: 30px;
}
.autoscrolling-images__arrow:hover {
  cursor: pointer;
}
.autoscrolling-images__img-arrow-left {
  transform: rotate(180deg);
}
.autoscrolling-images__carousel-container {
  position: relative;
  max-width: 940px;
}
.autoscrolling-images__imgs-carousel {
  overflow-x: clip;
}
.autoscrolling-images__carousel {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
}
.autoscrolling-images__carousel-page {
  align-items: center;
  scroll-snap-align: start;
  box-sizing: border-box;
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  max-width: 940px;
}
.autoscrolling-images__img-wrapper {
  width: 288px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.autoscrolling-images__radio {
  display: none;
}
.autoscrolling-images__dots-container {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.autoscrolling-images__dots {
  cursor: pointer;
  height: 12px;
  width: 12px;
  background-color: #cadae4;
  border-radius: 50%;
  display: inline-block;
  margin: 4px;
}
.autoscrolling-images__dots:hover {
  background-color: #0d4d69;
}
@keyframes autoscrolling-images-infiniteScroll {
  0% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(calc(-100% + 100cqw));
  }
  100% {
    transform: translateX(0%);
  }
}
@container (width < 1115px) {
  .autoscrolling-images__arrow-carousel-container {
    right: 0;
  }
}
@container (width < 800px) {
  .autoscrolling-images__arrow-carousel-container {
    display: none;
  }
  .autoscrolling-images__dots-container {
    display: none;
  }
  .autoscrolling-images__carousel {
    max-width: none;
    width: max-content;
  }
  .autoscrolling-images__carousel-container {
    margin: 0;
    max-width: calc(100cqw - 20px);
  }
  .autoscrolling-images__carousel-page {
    display: flex;
    flex: none !important;
    margin: 0;
    flex-wrap: nowrap !important;
    max-width: none;
  }
  .autoscrolling-images__img-wrapper {
    min-width: 288px;
  }
  .autoscrolling-images__carousel {
    animation-name: autoscrolling-images-infiniteScroll;
    animation-duration: var(--animation-length);
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
  }
}

/* src/back/jdd-components/dynamic-grid/dynamic-grid.css */
.dynamic-grid-component {
  .dynamic-grid-title {
    text-align: center;
  }
  .tabs-menu {
    display: flex;
    align-items: stretch;
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 36px;
    .tabs-menu-button {
      display: flex;
      margin-bottom: -1px;
      border: 1px solid #ccc;
      background: #eee;
      color: #666;
      font-size: 12px;
      cursor: pointer;
      transition: border 200ms, color 200ms;
      label {
        padding: 12px 15px;
      }
    }
    .tabs-menu-button:hover {
      border-top-color: #333;
      color: #333;
    }
  }
  .tabs-menu-radio:checked ~ .tabs-menu-button label {
    border-bottom-color: #fff;
    border-top-color: #b721ff;
    background: #fff;
    color: #222;
  }
  .tabs-menu-radio {
    display: none;
  }
  .tab-container {
    display: none;
    .tiles-container {
      display: grid;
      grid-gap: 24px;
      grid-template-columns: repeat(3, 1fr);
      grid-auto-rows: 1fr;
      grid-auto-flow: row dense;
      .tile {
        position: relative;
        overflow: hidden;
        .tile-content {
          position: absolute;
          background-color: #c3c3c3;
          width: 100%;
          opacity: 0.9;
          padding: 8px;
          z-index: 1;
          overflow: hidden;
          bottom: 0;
          box-sizing: border-box;
          .tile-content-wrapper {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 4;
            line-height: 20px;
            height: 103px;
            overflow: hidden;
            .tile-title {
              font-weight: bold;
              line-height: 20px;
              margin: 10px 0;
            }
            .tile-subtitle {
              line-height: 20px;
            }
          }
          .spacer {
            height: 5px;
          }
        }
        .tile-image {
          z-index: 0;
          width: 100%;
          height: 100%;
          picture {
            height: 100%;
            width: 100% !important;
          }
        }
      }
      .tile.square {
        grid-column: span 1;
        grid-row: span 1;
        .tile-image--horizontal {
          display: none;
        }
        .tile-image--vertical {
          display: none;
        }
        .tile-image--square {
          picture img {
            display: block !important;
          }
        }
      }
      .tile.horizontal {
        grid-column: span 2;
        grid-row: span 1;
        .tile-image--vertical {
          display: none;
        }
        .tile-image--square {
          display: none;
        }
        .tile-image--horizontal {
          picture img {
            display: block !important;
          }
        }
      }
      .tile.vertical {
        grid-row: span 2;
        grid-column: span 1;
        .tile-image--horizontal {
          display: none;
        }
        .tile-image--square {
          display: none;
        }
        .tile-image--vertical {
          picture img {
            display: block !important;
          }
        }
      }
    }
    .buttons-container {
      margin-top: 36px;
      display: flex;
      justify-content: center;
      flex-flow: row wrap;
      column-gap: 18px;
      row-gap: 16px;
      .button {
        display: inline-block;
        text-align: center;
        padding: 8px 24px;
        border: 1px solid #000000;
        color: var(--text-color);
        min-width: 240px;
        line-height: 23px;
        font-size: 16px;
        &.dark {
          background-color: #000000;
          --text-color: #ffffff;
        }
        &.bright {
          background-color: #ffffff;
          --text-color: #000000;
        }
      }
    }
  }
  @container (max-width: 950px) {
    .tab-container {
      .tiles-container {
        grid-template-columns: repeat(2, 1fr);
        .tile.vertical {
          grid-row: span 1;
          grid-column: span 1;
          .tile-image--vertical {
            display: none;
          }
          .tile-image--horizontal {
            display: none;
          }
          .tile-image--square {
            display: block;
            picture img {
              display: block !important;
            }
          }
        }
      }
    }
  }
  @container (max-width: 700px) {
    .tab-container {
      .tiles-container {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
        .tile.horizontal {
          grid-column: span 1;
          grid-row: span 1;
          .tile-image--vertical {
            display: none;
          }
          .tile-image--horizontal {
            display: none;
          }
          .tile-image--square {
            display: block;
            picture img {
              display: block !important;
            }
          }
        }
      }
    }
  }
}

/* src/back/jdd-components/faq-component/faq-component.css */
.faq-component {
  display: flex;
  justify-content: center;
  .container {
    max-width: 1224px;
    display: grid;
    gap: 16px;
  }
  .title-container {
    text-align: center;
    display: grid;
    gap: 16px;
  }
  .title {
    font-size: 32px;
    color: #0d4d69;
    line-height: 38.3px;
  }
  .title-container .content p {
    display: inline;
    font-size: 16px;
    color: #0d4d69;
    line-height: 24px;
  }
  .title-container strong {
    white-space: nowrap;
    color: #0d4d69;
    font-weight: bold;
  }
  .faq-container {
    display: grid;
    gap: 8px;
  }
  .question-container {
    display: grid;
    background-color: #cadae4;
    border-radius: 10px;
    padding: 0 16px;
    gap: 16px;
  }
  .question {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #0d4d69;
    align-items: center;
    padding: 16px 0;
    line-height: 24px;
  }
  .question::after {
    content: "\276c";
    display: inline-block;
    margin-left: 5px;
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
  }
  .question-container[open] > .question::after {
    transform: rotate(90deg);
  }
  .answer {
    font-size: 16px;
    color: #0d4d69;
    line-height: 24px;
  }
  .answer p {
    margin-top: 0;
    white-space: pre-line;
  }
  .button-container {
    display: flex;
    justify-content: center;
  }
  .button {
    text-align: center;
    background-color: #0d4d69;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    padding: 8px 24px 8px 24px;
    border-radius: 25px;
    line-height: 24px;
  }
}
@container (width < 500px) {
  .faq-component {
    .title {
      font-size: 28px;
      line-height: 33.52px;
    }
    .question {
      font-size: 14px;
      line-height: 21px;
      padding: 10px 0;
    }
    .answer p {
      font-size: 14px;
      line-height: 21px;
    }
    .container {
      gap: 24px;
    }
    .question-container {
      gap: 8px;
    }
  }
}

/* src/back/jdd-components/header-with-image/header-with-image.css */
.header-with-image {
  display: flex;
  justify-content: center;
  color: #0d4d69;
  * {
    padding: 0;
    margin: 0;
  }
  .container {
    max-width: 1210px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 10px;
  }
  .container > * {
    grid-column: 2/2;
  }
  .img-container {
    max-width: 600px;
    grid-column: 1/2;
    grid-row: 1/4;
    img {
      border-radius: 10px;
    }
  }
  .container > div {
    padding: 0 0 0px 24px;
  }
  .container > .img-container {
    padding: 0;
  }
  .title-wrapper {
    margin-bottom: 14px;
  }
  .title {
    font-size: 48px;
    line-height: 48px;
  }
  .img-container picture {
    width: 100%;
    border-radius: 10px;
  }
  .content {
    font-size: 20px;
    line-height: 30px;
  }
  .button-container {
    margin-top: 14px;
  }
  .button {
    color: #ffffff;
    background-color: #0b456b;
    text-align: center;
    text-decoration: none;
    padding: 8px 24px 8px 24px;
    border-radius: 25px;
    font-size: 16px;
    line-height: 30px;
  }
}
@container (width < 1100px) {
  .header-with-image {
    .title {
      font-size: 38px;
      line-height: 38px;
    }
    .content {
      font-size: 19px;
      line-height: 28px;
    }
  }
}
@container (width < 1024px) {
  .header-with-image {
    .container {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .container {
      grid-template-columns: 1fr;
    }
    .img-container {
      grid-column: 1/1;
      grid-row: auto;
      order: 2;
    }
    .container > div {
      grid-column: 1/1;
      padding: 0 16px;
    }
    .container > .img-container {
      padding: 0 16px;
    }
    .button-container {
      order: 3;
      display: flex;
      justify-content: center;
    }
    .title {
      font-size: 28px;
      line-height: 33.52px;
    }
    .title-wrapper {
      margin-bottom: 5px;
    }
    .content {
      font-size: 18px;
      line-height: 27px;
    }
    .img-container {
      margin-top: 16px;
    }
    .button-container {
      margin-top: 16px;
    }
    .container > div {
      max-width: 650px;
    }
  }
}

/* src/back/jdd-components/image-demo/image-demo.css */
.image-demo {
  picture {
    width: 200px;
    height: 200px;
  }
}

/* src/back/jdd-components/map-with-pins/map-with-pins.css */
.map-with-pins {
  height: 534px;
  .popup {
    .leaflet-popup-content-wrapper,
    .leaflet-popup-tip {
      background: #0d4d69;
      color: #ffffff;
      text-align: center;
    }
    .leaflet-popup-content {
      margin: 0;
    }
    .leaflet-popup-content-wrapper {
      padding: 22px;
    }
  }
  .title,
  .address {
    margin: 0 0 8px 0;
  }
  .title {
    text-transform: uppercase;
    font-size: 22px;
    line-height: 26px;
  }
  .address {
    font-size: 12px;
    line-height: 21px;
  }
  .button {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    text-transform: uppercase;
    padding: 4px 25px;
    border: 1px solid #ffffff;
    color: #ffffff;
    min-width: 170px;
    line-height: 18px;
    font-size: 12px;
    background-color: #0d4d69;
  }
}

/* src/back/jdd-components/nice-box/nice-box.css */
.nice-box {
  background-color: white;
}

/* src/back/jdd-components/table/table.css */
.table {
}

/* src/back/routes/admin/graf.page.css */
.admin-graph-view {
  min-height: calc(100vh - 130px);
  .graph-component {
    display: grid;
    grid-template-columns: 1fr 0;
    overflow: hidden;
    transition: all 600ms;
    height: 100%;
    &.sidebar-open {
      grid-template-columns: 1fr 440px;
    }
    .graph-sidebar {
      box-sizing: border-box;
      width: 430px;
      background-color: #eeeeee !important;
      border-radius: 0 !important;
      border: 2.5px solid black !important;
      padding: 30px !important;
      font-size: 18px;
      grid-column: 2/3;
      position: relative;
      transition: all 600ms;
      margin: 10px 10px 10px 0;
      button {
        font-size: 18px;
        text-align: left;
      }
      .close-button-container {
        text-align: right;
        .close-button {
          background: none;
          border: none;
          padding: 0;
          font-size: 34px;
          line-height: 1;
          width: auto;
          margin-bottom: 6px;
        }
      }
      .close-button:focus {
        outline: none;
      }
      .graph-sidebar-content {
        padding: 0 30px 30px 30px;
        .photo-container {
          picture {
            width: 100% !important;
          }
        }
        .story-title {
          font-weight: bolder;
          font-size: 20px;
        }
        .story-description {
          margin-bottom: 30px;
        }
        .story-buttons-container {
          display: flex;
          flex-direction: column;
          row-gap: 10px;
          .story-button {
            position: relative;
            min-width: 260px;
            border: 2.5px solid black;
            padding: 20px;
            text-decoration: none;
            color: black;
            background-color: white;
            .story-button-text {
              position: relative;
              margin: 0;
            }
            &::after {
              content: "\2916";
              position: absolute;
              right: 55px;
              font-size: 20px;
            }
          }
        }
      }
    }
    .graph-wrapper {
      margin: auto;
      margin-top: 0;
      padding: 16px;
      grid-column: 1/2;
      grid-row: 1/2;
      max-height: calc(100vh - 130px);
      max-width: calc(100vw - 440px);
      height: 100%;
      width: 100%;
    }
    .unconfirmed-node .node-circle {
      fill: lightgray;
      stroke-dasharray: 4 2;
      stroke: black;
    }
    .highlighted-nodes .unconfirmed-node {
      fill: lightgray;
      stroke-dasharray: 4 2;
      stroke: black;
    }
  }
  @media (max-width: 1200px) {
    .graph-component {
      &.sidebar-open {
        grid-template-columns: 1fr 360px;
      }
      .graph-sidebar {
        width: 350px;
        padding: 24px !important;
        .close-button {
          font-size: 25px;
          right: 3px;
          top: 3px;
        }
        .graph-wrapper {
          max-width: calc(100vw - 360px);
        }
        .story-button {
          .story-button-text-confirmed {
            font-size: 16px;
          }
          &::after {
            right: 20px !important;
          }
        }
      }
    }
  }
  @media (max-width: 1100px) {
    .graph-component {
      &.sidebar-open {
        grid-template-columns: 1fr 270px;
      }
      .graph-wrapper {
        max-width: calc(100vw - 270px);
      }
      .graph-sidebar {
        width: 260px;
        padding: 12px !important;
        .close-button-container {
          .close-button {
            font-size: 28px;
          }
        }
        .graph-sidebar-content {
          padding: 0 12px 12px 12px;
          .story-buttons-container {
            .story-button {
              min-width: 0;
              padding: 15px 10px 15px 10px;
              &::after {
                right: 8px !important;
              }
            }
          }
        }
      }
    }
  }
  @media (max-width: 700px) {
    .graph-component {
      grid-template-columns: 1fr 0;
      height: 100%;
      &.sidebar-open {
        grid-template-columns: 0 1fr;
      }
      .graph-wrapper {
        max-width: none;
      }
      .graph-sidebar {
        padding: 12px !important;
        width: auto;
        margin: 0;
        .graph-sidebar-content {
          padding: 0 12px 12px 12px;
        }
        .story-buttons-container {
          .story-button {
            padding: 20px;
            .story-button-text-confirmed {
              font-size: 18px;
            }
            &::after {
              right: 55px !important;
            }
          }
        }
      }
    }
  }
}

/* src/back/routes/admin/historie.list.css */
.admin-stories-page {
  max-width: 1400px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
}
.admin-stories-page h1 {
  text-align: center;
  font-size: 48px;
}
.navigation-wrapper {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 40px;
}
.navigation-wrapper .navigation-link {
  text-align: center;
  color: #000;
  font-size: 18px;
  padding: 14px 24px;
  max-width: 450px;
  width: 100%;
  border: solid black 2px;
  display: inline-block;
  color: black;
  text-decoration: none;
  max-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-stories-page {
  .list-pagination {
    max-width: 680px;
    margin: auto;
    margin-bottom: 20px;
  }
}
.list-pagination__right,
.list-pagination__left {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 3px;
}
.admin-stories-table {
  margin: auto;
  width: 100%;
  margin-bottom: 50px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-collapse: collapse;
  th,
  td {
    padding: 10px 10px;
    text-align: left;
    font-size: 16px;
  }
  td a {
    width: 100%;
    color: #000;
    display: inline-block;
    text-decoration-color: gray;
  }
  thead {
    height: 75px;
    tr:hover {
      background-color: transparent;
    }
  }
  thead a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
    &:hover {
      text-decoration: underline;
      cursor: pointer;
    }
  }
  thead th {
    background-color: rgb(224, 226, 231);
  }
  tr {
    border: 1px solid black;
  }
  tr:hover {
    background-color: rgb(239, 240, 241);
  }
}
@media (min-width: 450px) {
  .sealious-list__actions {
    display: flex;
    gap: 8px;
  }
}
@media (max-width: 550px) {
  .admin-stories-page {
    margin-top: 6px;
    h1 {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
    .navigation-wrapper {
      gap: 15px;
      a {
        padding: 14px 14px;
      }
    }
  }
}
@media (max-width: 450px) {
  .admin-stories-page {
    .navigation-wrapper {
      flex-direction: column;
      align-items: center;
    }
  }
}
@media (max-width: 730px) {
  .admin-stories-page {
    .admin-stories-table {
      td:nth-child(2),
      th:nth-child(2),
      td:nth-child(3),
      th:nth-child(3),
      td:nth-child(4),
      th:nth-child(4) {
        display: none;
      }
    }
  }
}

/* src/back/routes/admin/historie/[id]/delete-ask.page.css */
.confirm-delete-page--stories {
  max-width: 740px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  h1 {
    text-align: center;
    font-size: 48px;
  }
}
@media (max-width: 450px) {
  .confirm-delete-page--stories {
    margin-top: 6px;
    h1 {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
  }
}

/* src/back/routes/admin/historie/[id]/edit.form.css */
.form-input__wrapper--keywords {
  ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
    column-gap: 16px;
    @media (max-width: 450px) {
      grid-template-columns: 1fr;
    }
    li {
      list-style: none;
      div {
        display: flex;
        flex-flow: row;
        input {
          flex-grow: 0;
          width: auto;
        }
      }
    }
  }
}
.edit-story-form {
  max-width: 740px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  width: 100%;
  h2 {
    text-align: center;
    font-size: 48px;
  }
  a {
    font-size: 24px;
    color: #000;
  }
  textarea {
    height: 200px;
  }
  input[type=submit] {
    margin-top: 20px;
    background-color: rgb(224, 226, 231);
    grid-column: span 2;
  }
  #district:invalid {
    color: gray;
  }
  .form-input--type-checkbox {
    margin: 10px 0;
    label {
      margin: 0;
    }
  }
}
.form-input__wrapper--multiple-files--photos {
  input[type=submit]:not(.file-list-item__button--delete) {
    display: none;
  }
}
.preview-picker-field {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-height: 40px;
  cursor: pointer;
}
.preview-picker-field:empty:not(:focus):before {
  content: attr(placeholder-text);
  color: gray;
  display: flex;
  align-items: center;
}
.cmp-decoration-picker__options-block.edit {
  max-width: 576px !important;
}
.preview-picker-field__pill {
  background-color: #e0e0e0;
  border-radius: 16px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
}
.preview-picker-field__pill span {
  margin-right: 8px;
}
.preview-picker-field__pill button {
  padding: 0;
  width: auto;
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
}
@media (max-width: 450px) {
  .edit-story-form {
    margin-top: 6px;
    h2 {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
  }
}

/* src/back/routes/admin/historie/create.form.css */
.add-story-form {
  max-width: 740px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  h2 {
    text-align: center;
    font-size: 48px;
  }
  a {
    font-size: 24px;
    color: #000;
  }
  textarea {
    height: 200px;
  }
}
@media (max-width: 450px) {
  .add-story-form {
    margin-top: 6px;
    h2 {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
  }
}

/* src/back/routes/admin/mapa.page.css */
.admin-map-view {
  .map-component {
    min-height: calc(100vh - 130px);
    display: grid;
    grid-template-columns: 1fr 0;
    grid-template-rows: 1fr;
    overflow: hidden;
    transition: all 600ms;
    &.sidebar-open {
      grid-template-columns: 1fr 440px;
    }
    #map {
      grid-column: 1/3;
      grid-row: 1/2;
      box-sizing: border-box;
      height: 100%;
      border: 1px solid black;
      z-index: 1;
    }
    .map-sidebar {
      box-sizing: border-box;
      width: 430px;
      background-color: #eeeeee !important;
      border-radius: 0 !important;
      border: 2.5px solid black !important;
      padding: 30px !important;
      font-size: 18px;
      grid-column: 2/3;
      grid-row: 1/2;
      position: relative;
      transition: all 600ms;
      overflow: hidden;
      z-index: 2;
      margin: 10px 10px 10px 0;
      button {
        font-size: 18px;
        text-align: left;
      }
      .close-button-container {
        text-align: right;
        .close-button {
          background: none;
          border: none;
          padding: 0;
          font-size: 34px;
          line-height: 1;
          width: auto;
          margin-bottom: 6px;
        }
      }
      .close-button:focus {
        outline: none;
      }
      .map-sidebar-content {
        padding: 0 30px 30px 30px;
        .photo-container {
          picture {
            width: 100% !important;
          }
        }
        .story-title {
          font-weight: bolder;
          font-size: 20px;
        }
        .story-description {
          margin-bottom: 30px;
        }
        .story-buttons-container {
          display: flex;
          flex-direction: column;
          row-gap: 10px;
          .story-button {
            position: relative;
            min-width: 260px;
            border: 2.5px solid black;
            padding: 20px;
            text-decoration: none;
            color: black;
            background-color: white;
            .story-button-text {
              position: relative;
              margin: 0;
            }
            &::after {
              content: "\2916";
              position: absolute;
              right: 55px;
              font-size: 20px;
            }
          }
        }
      }
    }
    .leaflet-sidebar .close {
      background-color: transparent !important;
    }
    .unconfirmed-marker {
      filter: hue-rotate(120deg);
    }
  }
  @media (max-width: 1200px) {
    .map-component {
      &.sidebar-open {
        grid-template-columns: 1fr 360px;
      }
      .map-sidebar {
        width: 350px;
        padding: 24px !important;
        .close-button {
          font-size: 25px;
          right: 3px;
          top: 3px;
        }
        .story-button {
          .story-button-text-confirmed {
            font-size: 16px;
          }
          &::after {
            right: 20px !important;
          }
        }
      }
    }
  }
  @media (max-width: 1100px) {
    .map-component {
      &.sidebar-open {
        grid-template-columns: 1fr 270px;
      }
      .map-sidebar {
        width: 260px;
        padding: 12px !important;
        .close-button-container {
          .close-button {
            font-size: 28px;
          }
        }
        .map-sidebar-content {
          padding: 0 12px 12px 12px;
          .story-buttons-container {
            .story-button {
              min-width: 0;
              padding: 15px 10px 15px 10px;
              &::after {
                right: 8px !important;
              }
            }
          }
        }
      }
    }
  }
  @media (max-width: 700px) {
    .map-component {
      grid-template-columns: 1fr;
      height: 100%;
      grid-template-rows: 200px calc(100vh - 200px - 65px) 0;
      #map {
        grid-row: 1/3;
      }
      &.sidebar-open {
        grid-template-columns: 0 1fr;
        grid-template-rows: 200px calc(100vh - 200px - 65px) 1fr;
        .map-sidebar {
          opacity: 1;
          transform: translateY(0);
          filter: blur(0);
          pointer-events: all;
        }
      }
      .map-sidebar {
        padding: 12px !important;
        grid-row: 2/4;
        width: auto;
        margin: 0;
        transform: translateY(200px);
        opacity: 0;
        transition: all 300ms;
        pointer-events: none;
        .map-sidebar-content {
          padding: 0 12px 12px 12px;
          .story-buttons-container {
            .story-button {
              padding: 20px;
              .story-button-text-confirmed {
                font-size: 18px;
              }
              &::after {
                right: 55px !important;
              }
            }
          }
        }
      }
    }
  }
}

/* src/back/routes/admin/slowa-kluczowe.list.css */
.admin-keywords-page {
  max-width: 1400px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
}
.admin-keywords-page {
  .list-pagination {
    max-width: 680px;
    margin: auto;
    margin-bottom: 20px;
  }
}
.admin-keywords-page h1 {
  text-align: center;
  font-size: 48px;
}
.admin-keywords-table {
  margin: auto;
  width: 100%;
  margin-bottom: 50px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-collapse: collapse;
  th,
  td {
    padding: 10px 10px;
    text-align: left;
    font-size: 16px;
  }
  td:nth-child(2) {
    text-align: center;
  }
  th:nth-child(2) {
    text-align: center;
  }
  td a {
    width: 100%;
    color: #000;
    display: inline-block;
    text-decoration-color: gray;
  }
  thead {
    height: 75px;
    tr:hover {
      background-color: transparent;
    }
  }
  thead th {
    background-color: rgb(224, 226, 231);
  }
  thead a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    &:hover {
      text-decoration: underline;
      cursor: pointer;
    }
  }
  tr {
    border: 1px solid black;
  }
  tr:hover {
    background-color: rgb(239, 240, 241);
  }
}
@media (max-width: 550px) {
  .admin-keywords-page {
    margin-top: 6px;
    h1 {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
    .navigation-wrapper {
      gap: 15px;
      a {
        padding: 14px 14px;
      }
    }
  }
}
@media (max-width: 450px) {
  .admin-keywords-page {
    .navigation-wrapper {
      flex-direction: column;
      align-items: center;
    }
  }
}
@media (max-width: 350px) {
  .admin-keywords-page {
    .admin-keywords-table {
      td:nth-child(2),
      th:nth-child(2) {
        display: none;
      }
    }
  }
}

/* src/back/routes/admin/slowa-kluczowe/[id]/delete-ask.page.css */
.confirm-delete-page--keywords {
  max-width: 740px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  h1 {
    text-align: center;
    font-size: 48px;
  }
}
@media (max-width: 450px) {
  .confirm-delete-page--keywords {
    margin-top: 6px;
    h1 {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
  }
}

/* src/back/routes/admin/slowa-kluczowe/[id]/edit.form.css */
.edit-keyword-form {
  max-width: 650px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  width: 100%;
  h2 {
    text-align: center;
    font-size: 48px;
  }
  a {
    font-size: 24px;
    color: #000;
  }
  textarea {
    height: 200px;
  }
  input[type=submit] {
    margin-top: 20px;
    background-color: rgb(224, 226, 231);
  }
}
@media (max-width: 450px) {
  .edit-keyword-form {
    margin-top: 6px;
    h2 {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
  }
}

/* src/back/routes/admin/slowa-kluczowe/create.form.css */
.add-keyword-form {
  max-width: 650px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  width: 100%;
  h2 {
    text-align: center;
    font-size: 48px;
  }
  a {
    font-size: 24px;
    color: #000;
  }
  textarea {
    height: 200px;
  }
  input[type=submit] {
    margin-top: 20px;
    background-color: rgb(224, 226, 231);
  }
}
@media (max-width: 450px) {
  .add-keyword-form {
    margin-top: 6px;
    h2 {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
  }
}

/* src/back/routes/common/fullscreen-menu/fullscreen-menu.css */
.fullscreen-menu {
  --fullscreen-menu-padding: 1rem;
  --fullscreen-menu-height: 100dvh;
  --fulscreen-menu-inner-height: calc( var(--fullscreen-menu-height) - 2 * var(--fullscreen-menu-padding) );
  position: fixed;
  background-color: white;
  padding: var(--fullscreen-menu-padding);
  padding-right: 0;
  height: var(--fullscreen-menu-height);
  overflow: hidden;
  width: 100vw;
  left: 0;
  top: 0;
  border: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: minmax(var(--fulscreen-menu-inner-height), 1fr);
  grid-template-columns: 1fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.9);
  transition:
    opacity 200ms,
    transform 200ms,
    visibility 0ms 200ms;
  box-shadow: 1px 1px 11px #0000006e;
}
.fullscreen-menu__content {
  grid-row: 1/2;
  grid-column: 1/2;
  display: flex;
}
.fullscreen-menu__panel-container {
  display: grid;
  height: 100%;
}
.fullscreen-menu__panel {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(50vw);
  transition:
    opacity 200ms,
    transform 200ms,
    visibility 0ms 200ms;
  grid-row: 1/2;
  grid-column: 1/2;
  max-height: calc(var(--fulscreen-menu-inner-height) - 3rem);
  overflow-y: auto;
  width: 100%;
  padding-right: var(--fullscreen-menu-padding);
  box-sizing: border-box;
}

/* src/back/routes/common/horizontal-scroller/horizontal-scroller.css */
.horizontal-scroller {
  .horizontal-scroller__element-container {
    display: flex;
    flex-flow: row;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    & > * {
      scroll-snap-align: center;
    }
    .horizontal-scroller__element {
      width: 100%;
      display: flex;
      justify-content: center;
    }
  }
  .horizontal-scroller__markers {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
  }
  .horizontal-scroller__marker {
    width: 10px;
    height: 10px;
    background-color: blue;
    opacity: max(0.3, var(--visibility-value));
    &.active {
      opacity: 1;
    }
  }
}

/* src/back/routes/common/main-view.css */
.main-view {
  max-width: 1400px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  .main-view__title {
    text-align: center;
    font-size: 48px;
  }
  .main-view__story-container:has(.main-view__image-container:empty) {
    grid-template-columns: 1fr;
    .main-view__image-container {
      padding: 0;
    }
    .main-view__story-details {
      .main-view__story-details-text {
        max-width: 680px;
        margin: auto;
        .main-view__story-description {
        }
      }
      .main-view__story-buttons-container {
        align-items: center;
      }
    }
  }
  .main-view__story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    .main-view__image-container {
      padding: 30px;
      align-content: center;
      picture {
        width: 100% !important;
      }
    }
    .main-view__story-details {
      padding: 30px;
      .main-view__story-title {
        font-weight: bolder;
        font-size: 24px;
      }
      .main-view__story-description {
        margin-bottom: 30px;
        font-size: 18px;
      }
      .main-view__story-buttons-container {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        position: relative;
        .main-view__story-button {
          position: relative;
          max-width: 450px;
          width: 100%;
          border: solid black 2px;
          font-size: 20px;
          padding: 14px 24px;
          text-decoration: none;
          color: black;
          box-sizing: border-box;
          display: inline-block;
          .main-view__story-button-text {
            position: relative;
            margin: 0;
            padding-right: 25px;
          }
          &::after {
            content: "\2916";
            position: absolute;
            right: 55px;
            font-size: 20px;
            white-space: nowrap;
          }
        }
      }
    }
  }
  .title-container {
    display: none;
  }
  .button-container {
    display: none;
  }
  .faq-component {
    margin-top: 50px;
    display: block;
    .container {
      max-width: 900px;
      margin: auto;
    }
  }
  .faq-container {
    gap: 0;
    .question-container {
      background-color: transparent;
      border-bottom: 2px solid black;
      border-radius: 0;
      .question {
        color: #000;
        justify-content: left;
        font-size: 20px;
        font-weight: normal;
        padding: 22px 0;
        &::before {
          content: "\2916";
          display: inline-block;
          transform: rotate(90deg);
          transition: transform 0.3s ease;
          color: #ed8fff;
          font-size: 48px;
          font-weight: lighter;
          margin-right: 22px;
        }
        &::after {
          display: none !important;
        }
      }
      .answer {
        color: #000;
      }
    }
    .question-container[open] {
      .question {
        &::before {
          transform: rotate(0deg);
        }
      }
    }
  }
}
@media (max-width: 900px) {
  .main-view__story-button::after {
    right: 25px !important;
    top: 50%;
    transform: translate(0, -50%);
  }
}
@media (max-width: 600px) {
  .main-view__story-container {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr;
  }
  .main-view__story-container:has(.main-view__image-container:empty) {
    grid-template-rows: 1fr;
  }
  .main-view__image-container {
    padding: 10px !important;
  }
  .main-view__story-details {
    padding: 10px !important;
  }
}
@media (max-width: 450px) {
  .main-view {
    margin-top: 6px;
    .main-view__title {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
  }
}

/* src/back/routes/common/navbar-admin/navbar-admin.css */
.top-nav-admin {
  background-color: rgb(224, 226, 231);
  display: flex;
  justify-content: center;
  max-width: 100vw;
  border-top: solid 1px darkgray;
}
.top-nav-admin a {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.top-nav-admin__menu {
  width: 100%;
}
.top-nav-admin__menu-list {
  display: flex;
  width: 100%;
  gap: 42px;
  color: black;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.top-nav-admin__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  font-weight: 300;
  font-size: 24px;
  padding: 0 40px;
  max-width: 1280px;
  width: 100%;
}
.top-nav-admin__title {
  flex-grow: 1;
  white-space: nowrap;
  padding-right: 65px;
}
.top-nav-admin__menu-item a:hover,
.top-nav-admin__menu-button:hover {
  text-shadow: 0px 0px 1px black;
  transition: 0.2s;
}
.top-nav-admin__menu-item.wide {
  flex-grow: 1;
}
.top-nav-admin__menu-link.selected {
  font-weight: 500;
}
.top-nav-admin__right {
  text-align: right;
}
.top-nav-admin__menu-checkbox {
  display: none;
}
.top-nav-admin__menu-button {
  display: none;
  margin: auto;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .top-nav-admin__title {
    padding-right: 20px;
  }
}
@media screen and (max-width: 900px) {
  .top-nav-admin {
    padding: 0 20px;
  }
  .top-nav-admin__title {
    font-size: 26px;
  }
  .top-nav-admin__menu {
    width: auto;
  }
  .top-nav-admin__menu-list {
    display: none;
  }
  .top-nav-admin__menu-button {
    display: block;
  }
  .top-nav-admin__menu-checkbox:checked ~ .top-nav-admin__menu-list {
    display: flex;
  }
  .top-nav-admin__menu-checkbox:checked ~ .top-nav-admin__menu-button {
    text-shadow: 0px 0px 1.5px black;
    transition: 0.2s;
  }
  .top-nav-admin__menu-list {
    position: absolute;
    top: 125px;
    width: 200px;
    right: 0;
    left: calc(100vw - 200px);
    box-shadow: -1px 2px 7px -3px black;
    flex-direction: column;
    gap: 8px;
    background-color: rgb(224, 226, 231);
    padding: 18px 20px;
    z-index: 99;
  }
  .top-nav-admin__menu-item {
    padding: 3px 0;
  }
}
@media screen and (max-width: 400px) {
  .top-nav-admin {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 20px;
    gap: 20px;
  }
  .top-nav-admin__title {
    padding-right: 0;
    width: auto;
    white-space: normal;
    font-size: 22px;
    text-align: center;
  }
  .top-nav-admin__container {
    gap: 20px;
  }
}

/* src/back/routes/common/navbarTop/navbar.css */
.top-nav {
  background-color: rgb(224, 226, 231);
  display: flex;
  justify-content: center;
  max-width: 100vw;
}
.top-nav a {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.top-nav__menu-list {
  display: flex;
  width: 100%;
  gap: 46px;
  color: black;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.top-nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
  font-weight: 300;
  font-size: 24px;
  padding: 0 40px;
  max-width: 1280px;
  width: 100%;
}
.top-nav__title {
  flex-grow: 1;
  white-space: nowrap;
  padding-right: 110px;
}
.top-nav__title:hover {
  text-shadow: 0px 0px 1px black;
  transition: 0.2s;
}
.top-nav__menu-item a:hover,
.top-nav__menu-button:hover {
  text-shadow: 0px 0px 1px black;
  transition: 0.2s;
}
.top-nav__menu-item.wide {
  flex-grow: 1;
}
.top-nav__menu-link.selected {
  font-weight: 500;
}
.top-nav__right {
  text-align: right;
}
.top-nav__menu-checkbox {
  display: none;
}
.top-nav__menu-button {
  display: none;
  margin: auto;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .top-nav__title {
    padding-right: 20px;
  }
}
@media screen and (max-width: 900px) {
  .top-nav {
    padding: 0 20px;
  }
  .top-nav__title {
    font-size: 26px;
  }
  .top-nav__menu {
    width: auto;
  }
  .top-nav__menu-list {
    display: none;
  }
  .top-nav__menu-button {
    display: block;
  }
  .top-nav__container:has(.top-nav__menu-checkbox:checked) .top-nav__menu-list {
    display: flex;
  }
  .top-nav__menu-checkbox:checked ~ .top-nav__menu-button {
    text-shadow: -1px -1px black;
    transition: 0.2s;
  }
  .top-nav__menu-list {
    position: absolute;
    top: 65px;
    width: 200px;
    right: 0;
    left: calc(100vw - 200px);
    box-shadow: -1px 2px 7px -3px black;
    flex-direction: column;
    gap: 8px;
    background-color: rgb(224, 226, 231);
    padding: 18px 20px;
    z-index: 99;
  }
  .top-nav__menu-item {
    padding: 3px 0;
  }
}
@media screen and (max-width: 400px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 20px;
    gap: 20px;
  }
  .top-nav__title {
    padding-right: 0;
    width: auto;
    white-space: normal;
    font-size: 22px;
    text-align: center;
  }
  .top-nav__container {
    gap: 20px;
  }
}

/* src/back/routes/common/tabs/tabs.css */
.tabs {
  & > nav input[type=radio] {
    display: none;
  }
  nav {
    display: flex;
    flex-flow: row nowrap;
    gap: 8px;
    .tabs__tab-label {
      label {
        cursor: pointer;
        font-size: 16px;
        user-select: none;
      }
    }
  }
  .tabs__tab {
    display: none;
  }
}

/* src/back/routes/common/ui/input.css */
.input {
}
.input__error {
  color: red;
}

/* src/back/routes/component-preview/grow-wrap.css */
.grow-wrap {
  display: grid;
}
.grow-wrap::after {
  content: attr(data-replicated-value) " ";
  white-space: pre-wrap;
  visibility: hidden;
}
.grow-wrap > textarea {
  resize: none;
  overflow: hidden;
}
.grow-wrap > textarea,
.grow-wrap::after {
  border: 1px solid black;
  padding: 0.5rem;
  font: inherit;
  grid-area: 1 / 1 / 2 / 2;
}

/* src/back/routes/components.css */
.title--components {
  body {
    max-width: none;
  }
  .two-column {
    display: grid;
    grid-template-columns: 1fr 15px min-content;
  }
  .resize-gutter {
    background-color: gray;
    cursor: ew-resize;
    height: 100%;
  }
  .resizable {
    overflow-x: auto;
  }
  transition: transform 200ms, opacity 200ms;
  &.restarting {
    transform: scale(0.99);
    opacity: 0.6;
  }
  .component-preview {
    width: var(--resizable-column-width);
    & > fieldset {
      min-width: 0;
      max-height: calc(100vh - 75px);
      overflow-x: auto;
    }
  }
  .component-arguments {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
}
.component-preview-parameters {
  fieldset {
    background-color: #80808024;
    table {
      td,
      th {
        outline: 0.5px solid #0000006b;
        &.subdued > * {
          opacity: 50%;
        }
        &.subdued:hover > * {
          opacity: 100%;
        }
        &.sticky {
          position: sticky;
          background-color: #ececec;
        }
        &.sticky--left {
          left: 0;
          box-shadow: 5px 0px 10px -4px #00000047;
        }
        &.sticky--top {
          top: 0;
          box-shadow: 0px 5px 10px -4px #00000047;
        }
      }
    }
  }
}
.component-preview {
  * {
    transition: all 150ms;
  }
  container-type: inline-size;
}
@media (scripting: none) {
  body {
    min-width: max-content;
  }
}
.component-preview-size-select {
  margin-left: 10px;
}

/* src/back/routes/dodaj/[id].form.css */
.cmp-add-form {
  max-width: 1000px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  margin-inline: auto;
  #district:invalid {
    color: gray;
  }
  #Aphotos__multiple-fields-control {
    grid-column: 1/3;
  }
}
.cmp-add-form {
  input[type=file] {
    padding: 16px 8px;
  }
}
.cmp-add-form__title {
  text-align: center;
  font-size: 48px;
  grid-column: 1/3;
}
.cmp-add-form__tip {
  width: 100%;
  margin-inline: 1rem;
  margin-left: auto;
  margin-right: auto;
}
.cmp-add-form .form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0.5rem;
  @media (max-width: 500px) {
    grid-template-columns: 1fr;
  }
}
.cmp-add-form .form div,
.cmp-add-form .form p,
.cmp-add-form .form button {
  grid-column-start: 1;
  grid-column-end: 3;
  @media (max-width: 500px) {
    grid-column-start: 1;
    grid-column-end: 2;
  }
}
.cmp-add-form .form-input__wrapper--date {
  grid-column-start: 1 !important;
  grid-column-end: 2 !important;
}
@media (min-width: 500px) {
  .cmp-add-form .form-input__wrapper--districts {
    grid-column-start: 2 !important;
    grid-column-end: 3 !important;
  }
}
@media (max-width: 500px) {
  .cmp-add-form .form-input__wrapper--date,
  .cmp-add-form .form-input__wrapper--districts {
    grid-column-start: 1 !important;
    grid-column-end: 2 !important;
  }
}
.cmp-add-form .form-input__wrapper--date input,
.cmp-add-form .form-input__wrapper--districts select {
  height: 3.5rem;
}
.cmp-decoration-picker {
  position: relative;
}
.cmp-decoration-picker .cmp-decoration-picker__options-block {
  position: absolute;
  padding: 1rem;
  margin-top: 0.5rem;
  top: 100%;
  left: 0;
  max-width: 500px;
  width: 100%;
  background-color: #f1f1f1;
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: scroll;
  display: none;
}
.cmp-decoration-picker:focus-within .cmp-decoration-picker__options-block {
  display: block;
}
.cmp-decoration-picker .cmp-decoration-picker__option-wrapper {
  display: flex;
  margin: 0.25rem 0;
}
.cmp-decoration-picker .cmp-decoration-picker__option-wrapper label {
  width: 100%;
}
.cmp-decoration-picker .cmp-decoration-picker__option-wrapper input {
  width: max-content;
}
.cmp-map-picker__wrapper {
  height: 730px;
  max-height: 70vh;
}
.cmp-map-picker label {
  margin-bottom: 0.5rem;
}
@media (max-width: 450px) {
  .cmp-add-form {
    margin-top: 6px;
  }
  .cmp-add-form__title {
    font-size: 36px;
    margin-top: 14px;
    margin-bottom: 20px;
  }
}

/* src/back/routes/graf.page.css */
.graph-view {
  min-height: calc(100vh - 65px);
  .graph-component {
    display: grid;
    grid-template-columns: 1fr 0;
    overflow: hidden;
    transition: all 600ms;
    height: 100%;
    &.sidebar-open {
      grid-template-columns: 1fr 440px;
    }
    .graph-sidebar {
      box-sizing: border-box;
      width: 430px;
      background-color: #eeeeee !important;
      border-radius: 0 !important;
      border: 2.5px solid black !important;
      padding: 30px !important;
      font-size: 18px;
      grid-column: 2/3;
      position: relative;
      transition: all 600ms;
      margin: 10px 10px 10px 0;
      .close-button-container {
        text-align: right;
        .close-button {
          background: none;
          border: none;
          padding: 0;
          font-size: 34px;
          line-height: 1;
          width: auto;
          margin-bottom: 6px;
        }
      }
      .close-button:focus {
        outline: none;
      }
      .graph-sidebar-content {
        padding: 0 30px 30px 30px;
        .photo-container {
          picture {
            width: 100% !important;
          }
        }
        .story-title {
          font-weight: bolder;
          font-size: 20px;
        }
        .story-description {
          margin-bottom: 30px;
        }
        .story-buttons-container {
          display: flex;
          flex-direction: column;
          row-gap: 10px;
          .story-button {
            position: relative;
            min-width: 260px;
            border: 2.5px solid black;
            padding: 20px;
            text-decoration: none;
            color: black;
            background-color: white;
            .story-button-text {
              position: relative;
              margin: 0;
            }
            &::after {
              content: "\2916";
              position: absolute;
              right: 55px;
              font-size: 20px;
            }
          }
        }
      }
    }
    .graph-wrapper {
      margin: auto;
      margin-top: 0;
      padding: 16px;
      grid-column: 1/2;
      grid-row: 1/2;
      max-height: calc(100vh - 65px);
      max-width: calc(100vw - 440px);
      height: 100%;
      width: 100%;
    }
  }
  @media (max-width: 1200px) {
    .graph-component {
      &.sidebar-open {
        grid-template-columns: 1fr 360px;
      }
      .graph-sidebar {
        width: 350px;
        padding: 24px !important;
        .close-button {
          font-size: 25px;
          right: 3px;
          top: 3px;
        }
        .graph-wrapper {
          max-width: calc(100vw - 360px);
        }
        .story-button {
          &::after {
            right: 20px !important;
          }
        }
      }
    }
  }
  @media (max-width: 1100px) {
    .graph-component {
      &.sidebar-open {
        grid-template-columns: 1fr 270px;
      }
      .graph-wrapper {
        max-width: calc(100vw - 270px);
      }
      .graph-sidebar {
        width: 260px;
        padding: 12px !important;
        .close-button-container {
          .close-button {
            font-size: 28px;
          }
        }
        .graph-sidebar-content {
          padding: 0 12px 12px 12px;
          .story-buttons-container {
            .story-button {
              min-width: 0;
              padding: 15px 10px 15px 10px;
              &::after {
                right: 8px !important;
              }
            }
          }
        }
      }
    }
  }
  @media (max-width: 700px) {
    .graph-component {
      grid-template-columns: 1fr 0;
      height: 100%;
      &.sidebar-open {
        grid-template-columns: 0 1fr;
      }
      .graph-wrapper {
        max-width: none;
      }
      .graph-sidebar {
        padding: 12px !important;
        width: auto;
        margin: 0;
        .graph-sidebar-content {
          padding: 0 12px 12px 12px;
          .story-buttons-container {
            .story-button {
              padding: 20px;
              &::after {
                right: 55px !important;
              }
            }
          }
        }
      }
    }
  }
}
.top-nav-admin ~ .graph-view {
  min-height: calc(100vh - 130px);
}
.top-nav-admin ~ .graph-view {
  .graph-component {
    max-height: calc(100vh - 130px);
  }
}

/* src/back/routes/historie.list.css */
.stories-page {
  max-width: 1400px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
}
.stories-page-title {
  text-align: center;
  font-size: 48px;
}
.list-pagination a {
  color: #000;
  font-size: 18px;
}
.list-pagination select {
  border: 2px solid #000;
  font-size: 18px;
  padding: 12px 10px 12px 15px;
  text-align: center;
  width: auto;
}
.list-pagination option {
  font-size: 18px;
}
.stories-page {
  .list-pagination {
    max-width: 680px;
    margin: auto;
  }
}
.list-pagination__right,
.list-pagination__left {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 3px;
}
.stories-table-container {
  max-width: 680px;
  margin: auto;
}
.stories-table {
  width: 700px;
  margin-bottom: 50px;
  margin: 0 10px;
  th,
  td {
    background-color: transparent;
    border: none;
    padding: 10px 0;
    text-align: left;
    font-size: 16px;
  }
  th:nth-child(2) {
    text-align: right;
  }
  td a {
    width: 100%;
    color: #000;
    display: inline-block;
    text-decoration-color: gray;
  }
  thead {
    height: 75px;
    tr:hover {
      background-color: transparent;
    }
  }
  thead a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
    &:hover {
      text-decoration: underline;
      cursor: pointer;
    }
  }
  tr td:last-child {
    text-align: right;
    width: 90px;
  }
  tr:hover {
    background-color: rgb(239, 240, 241);
  }
}
.stories-page__add-container {
  .stories-page__add-text {
    font-size: 18px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: block;
  }
  .stories-page__add-button {
    position: relative;
    font-size: 20px;
    padding: 14px 24px;
    max-width: 450px;
    width: 100%;
    border: solid black 2px;
    display: inline-block;
    color: black;
    text-decoration: none;
    box-sizing: border-box;
    .stories-page__add-button-text {
      position: relative;
      margin: 0;
      padding-right: 25px;
    }
    &::after {
      content: "\2916";
      position: absolute;
      right: 55px;
      font-size: 20px;
      white-space: nowrap;
    }
  }
}
@media screen and (max-width: 768px) {
  .stories-table {
    width: calc(100% - 20px);
  }
  .stories-add {
    a {
      width: calc(100% - 40px);
      max-width: 452px;
    }
  }
}
@media (max-width: 900px) {
  .stories-page__add-button::after {
    right: 25px !important;
    top: 50%;
    transform: translate(0, -50%);
  }
}
@media (max-width: 450px) {
  .list-pagination a {
    font-size: 13px;
  }
  .list-pagination select {
    font-size: 13px;
    padding: 9px 0px 9px 9px;
    min-width: 46px;
  }
  .list-pagination {
    grid-column-gap: 5px !important;
  }
  .stories-page-title {
    font-size: 36px;
    margin-top: 14px;
    margin-bottom: 20px;
  }
  .stories-page {
    margin-top: 6px;
  }
}

/* src/back/routes/historie/[id]/[slug].page.css */
.story-view {
  max-width: 740px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  #lightgallery {
    display: grid;
    grid-template-columns: 1fr 200px;
    row-gap: 10px;
    justify-content: center;
    column-gap: 20px;
    @media (max-width: 840px) {
      display: flex;
      flex-flow: row wrap;
      column-gap: 10px;
    }
    picture,
    img {
      max-width: calc(100dvw - 20px);
    }
  }
  #lightgallery > a:first-child {
    grid-column: 1/2;
    grid-row: span 4;
    max-width: 520px;
  }
  #lightgallery > a {
    grid-column: 2/3;
    img,
    picture {
      background: none !important;
    }
  }
  .story-view__images {
    & > * {
      display: flex;
      flex-direction: row;
      gap: 40px;
    }
    .story-view__first-image-container {
      display: flex;
      align-items: center;
    }
    .story-view__regular-images-container {
      display: flex;
      flex-flow: column wrap;
      gap: 15px;
    }
  }
  .story-view__title {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .story-view__description {
    font-size: 18px;
  }
  .story-view__links {
    padding-top: 30px;
    padding-bottom: 82px;
    display: flex;
    flex-flow: row wrap;
    gap: 12px;
    .story-view__link {
      width: 100%;
      max-width: 250px;
      border: solid black 2px;
      display: inline-block;
      color: black;
      text-decoration: none;
      padding: 16px 36px;
      font-size: 18px;
      position: relative;
      .story-view__link-text {
        position: relative;
        margin: 0;
      }
      &::after {
        content: "\2916";
        position: absolute;
        right: 55px;
        font-size: 20px;
      }
    }
  }
  .story-view__keywords {
    .story-view__keywords-subtitle {
      font-weight: 400;
      font-size: 24px;
      margin: 0;
    }
    .story-view__keywords-list {
      font-size: 18px;
      padding-top: 22px;
      padding-bottom: 88px;
    }
  }
  .story-view__similar {
    .story-view__similar-subtitle {
      font-weight: 400;
      font-size: 24px;
      margin: 0;
    }
    .story-view__similar-list {
      font-size: 18px;
      padding-top: 26px;
      padding-bottom: 52px;
      list-style-type: none;
      padding-left: 0;
      margin: 0;
      .story-view__similar-list-item {
        margin: 16px 36px 16px 0;
        box-sizing: border-box;
        position: relative;
        .story-view__similar-story {
          color: black;
          text-decoration: none;
          font-size: 18px;
          position: relative;
          z-index: 1;
        }
        &::after {
          content: "\2916";
          margin-left: 20px;
          right: 80px;
          bottom: 0;
          font-size: 20px;
          z-index: 0;
        }
      }
    }
  }
  .story-view__add-container {
    .story-view__add-text {
      font-size: 18px;
      padding-bottom: 20px;
      display: block;
    }
    .story-view__add-button {
      position: relative;
      font-size: 20px;
      padding: 14px 24px;
      max-width: 450px;
      width: 100%;
      border: solid black 2px;
      display: inline-block;
      color: black;
      text-decoration: none;
      box-sizing: border-box;
      .story-view__add-button-text {
        position: relative;
        margin: 0;
      }
      &::after {
        content: "\2916";
        margin-left: 20px;
        right: 55px;
        font-size: 20px;
      }
    }
  }
}

/* src/back/routes/horizontal-scroller-demo.css */
.bignum {
  font-size: 60px;
  background-color: aquamarine;
  color: hsl(159.8, 100%, 39.9%);
  width: 150px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.horizontal-scroller {
  .next-button,
  .prev-button {
    pointer-events: none;
    opacity: 0.5;
  }
  &.has-next .next-button,
  &.has-prev .prev-button {
    pointer-events: all;
    opacity: 1;
  }
}

/* src/back/routes/kontakt.page.css */
.contact-view {
  max-width: 740px;
  margin: auto;
  margin-top: 48px;
  padding: 0 12px;
  h1 {
    text-align: center;
    font-size: 48px;
  }
  p {
    font-size: 18px;
    max-width: 680px;
    margin: auto;
    margin-bottom: 20px;
  }
}
@media (max-width: 450px) {
  .contact-view {
    margin-top: 6px;
    h1 {
      font-size: 36px;
      margin-top: 14px;
      margin-bottom: 20px;
    }
  }
}

/* src/back/routes/login.form.css */
.login-form {
  input[type=submit] {
    margin-top: 20px;
    background-color: rgb(224, 226, 231);
    grid-column: span 2;
  }
}

/* src/back/routes/mapa.page.css */
.map-view {
  .map-component {
    min-height: calc(100vh - 65px);
    display: grid;
    grid-template-columns: 1fr 0;
    grid-template-rows: 1fr;
    overflow: hidden;
    transition: all 600ms;
    &.sidebar-open {
      grid-template-columns: 1fr 440px;
    }
    #map {
      grid-column: 1/3;
      grid-row: 1/2;
      box-sizing: border-box;
      height: 100%;
      border: 1px solid black;
      z-index: 1;
    }
    .map-sidebar {
      box-sizing: border-box;
      width: 430px;
      background-color: #eeeeee !important;
      border-radius: 0 !important;
      border: 2.5px solid black !important;
      padding: 30px !important;
      font-size: 18px;
      grid-column: 2/3;
      grid-row: 1/2;
      position: relative;
      transition: all 600ms;
      overflow: hidden;
      z-index: 2;
      margin: 10px 10px 10px 0;
      .close-button-container {
        text-align: right;
        .close-button {
          background: none;
          border: none;
          padding: 0;
          font-size: 34px;
          line-height: 1;
          width: auto;
          margin-bottom: 6px;
        }
      }
      .close-button:focus {
        outline: none;
      }
      .map-sidebar-content {
        padding: 0 30px 30px 30px;
        .photo-container {
          picture {
            width: 100% !important;
          }
        }
        .story-title {
          font-weight: bolder;
          font-size: 20px;
        }
        .story-description {
          margin-bottom: 30px;
        }
        .story-buttons-container {
          display: flex;
          flex-direction: column;
          row-gap: 10px;
          .story-button {
            position: relative;
            min-width: 260px;
            border: 2.5px solid black;
            padding: 20px;
            text-decoration: none;
            color: black;
            background-color: white;
            .story-button-text {
              position: relative;
              margin: 0;
            }
            &::after {
              content: "\2916";
              position: absolute;
              right: 55px;
              font-size: 20px;
            }
          }
        }
      }
    }
    .leaflet-sidebar .close {
      background-color: transparent !important;
    }
  }
  @media (max-width: 1200px) {
    .map-component {
      &.sidebar-open {
        grid-template-columns: 1fr 360px;
      }
      .map-sidebar {
        width: 350px;
        padding: 24px !important;
        .close-button {
          font-size: 25px;
          right: 3px;
          top: 3px;
        }
      }
    }
  }
  @media (max-width: 1100px) {
    .map-component {
      &.sidebar-open {
        grid-template-columns: 1fr 270px;
      }
      .map-sidebar {
        width: 260px;
        padding: 12px !important;
        .close-button-container {
          .close-button {
            font-size: 28px;
          }
        }
        .map-sidebar-content {
          padding: 0 12px 12px 12px;
          .story-buttons-container {
            .story-button {
              min-width: 0;
              &::after {
                right: 10px;
              }
            }
          }
        }
      }
    }
  }
  @media (max-width: 700px) {
    .map-component {
      grid-template-columns: 1fr;
      height: 100%;
      grid-template-rows: 200px calc(100vh - 200px - 65px) 0;
      #map {
        grid-row: 1/3;
      }
      &.sidebar-open {
        grid-template-columns: 0 1fr;
        grid-template-rows: 200px calc(100vh - 200px - 65px) 1fr;
        .map-sidebar {
          opacity: 1;
          transform: translateY(0);
          filter: blur(0);
          pointer-events: all;
        }
      }
      .map-sidebar {
        padding: 12px !important;
        grid-row: 2/4;
        width: auto;
        margin: 0;
        transform: translateY(200px);
        opacity: 0;
        transition: all 300ms;
        pointer-events: none;
        .map-sidebar-content {
          padding: 0 12px 12px 12px;
        }
        .story-buttons-container {
          .story-button {
            &::after {
              right: 55px;
            }
          }
        }
      }
    }
  }
}
.top-nav-admin ~ .map-view > .map-component {
  min-height: calc(100vh - 130px);
  @media (max-width: 700px) {
    &.sidebar-open {
      grid-template-rows: 200px calc(100vh - 200px - 130px) 1fr;
    }
  }
}
.leaflet-marker-icon {
  --transition-time: 200ms;
  transition:
    height var(--transition-time),
    width var(--transition-time),
    top var(--transition-time),
    left var(--transition-time);
}
.leaflet-selected-marker {
  filter: brightness(1.5);
  height: 60px !important;
  position: relative;
  top: -19px !important;
  width: 35px !important;
  left: -4px !important;
  opacity: 1 !important;
}
.leaflet-selected-marker.unconfirmed-marker {
  filter: hue-rotate(120deg) brightness(1.5) !important;
}

/* src/colors.css */
html {
  --primary-accent-color: #5294a1;
}

/* src/forms.css */
label {
  display: block;
  margin: 1.5rem 0 0.5rem 0;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #000;
  font-size: 1rem;
  padding: 1rem 2rem;
  background-color: #fff;
}
input {
  padding: 1rem 1.5rem;
}
textarea {
  resize: vertical;
  font-family: inherit;
}
.form-input__wrapper--multiple-files--photos {
  ul {
    padding-left: 0;
    li {
      grid-template-columns: 1fr 40px;
      picture {
        background-size: contain !important;
      }
      form {
        height: 40px;
        width: 40px;
        input {
          padding: 0;
          height: 40px;
          width: 40px;
          display: block;
          margin-top: 0 !important;
          cursor: pointer;
        }
      }
    }
  }
}

/* src/tables.css */
table,
td,
th {
  border-collapse: collapse;
}
.list-pagination {
  display: grid;
  grid-template-columns: 1fr min-content 1fr;
  grid-column-gap: 1rem;
  margin-bottom: 0.5rem;
}
.list-pagination__left {
  text-align: right;
}
thead th {
  background-color: #ddd;
  border-style: solid;
  border-width: 1px 0 1px 0;
  border-color: #777;
  padding: 9px 7px;
  font-size: 14px;
}
tr:hover {
  background-color: #ccc;
}
td {
  padding: 2px 8px;
}

/* src/includes.css */

/* src/main.css */
* {
  box-sizing: border-box;
}
html {
  background: #eee;
  font-family:
    Ubuntu,
    -apple-system,
    system-ui,
    BlinkMacSystemFont,
    "Segoe UI",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Lato",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 14px;
}
body {
  min-height: 100vh;
  margin: 0 auto;
  background: white;
  display: grid;
  grid-template-rows: 65px 1fr;
  padding-bottom: 60px;
  &:has(.map-view, .admin-map-view) {
    padding-bottom: 0;
  }
  &:has(.graph-view) {
    padding-bottom: 0;
  }
  &:has(.admin-graph-view) {
    padding-bottom: 0;
  }
  &:has(.top-nav-admin) {
    grid-template-rows: 65px 65px 1fr;
  }
}
button {
  width: 100%;
  padding: 1rem;
  background-color: #fff;
  font-size: 1.5rem;
  border: 2px solid #000;
  cursor: pointer;
}
.delete-button {
  height: 1rem;
  padding: 0;
  line-height: 0;
  padding: 0.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
}
nav a:not(:visited) {
  color: var(--primary-accent-color);
}
.form-input__wrapper--control-type__photo {
  display: flex;
  flex-flow: row wrap;
  label {
    width: 100%;
  }
}
/*# sourceMappingURL=main.css.map */
