/* Source: styles.css */
@font-face {
  font-family: "Graphik LC";
    src: url('./fonts/Graphik-Regular-Cy.otf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: "Graphik LC";
    src: url('./fonts/Graphik-Bold-Cy.otf');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
  margin: 0;
    background-color: #000;
    font-family: "Graphik LC", sans-serif;
}

canvas {
  cursor: pointer;
}

.background-container {
  background: url('/person-bg.png') no-repeat center center fixed;
    background-size: cover;
    width: 100vw;
    height: 100vh;
}

.overlay {
  /*pointer-events: none;*/
    display: block;
    position: absolute;
    /*background-color: #fff;*/
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    top: 50%;
    left: 50%;
    background-color: rgba(27, 27, 27, 0.75);
  
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.7s;
    overflow-y: scroll;
}

.overlay__body {
  display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.card__header {
  background: white;
    color: black;
    font-size: 33px;
    position: relative;
    word-wrap: break-word;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    text-align: center;
}

.card__body {
  color: #000000;
    display: flex;
    flex-direction: column;
    font-size: 22px;
    line-height: 2;
}

.card__button {
  background: #DC5E5D;
    color: white;
    display: inline-block;
    padding: 7px 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    white-space: nowrap;
}

.card__button.card__button_share {
  background-color: #5A87CE;
}

.card__button:hover {
  background: #bf2928;
}

.card__button.card__button_share:hover {
  background: #253F67;
}

.card__footer {
  display: flex;
    justify-content: space-between;
    gap: 3px;
    margin-top: 12px;
}

.card__text__value {
  padding-right: 1em;
}

.card__body .card__text {
  line-height: 1.3;
    padding: 0.5em 0;
}

.card__body .card__text p:first-child {
  margin-top: 0;
}

.card__body .card__text p:last-child {
  margin-bottom: 0;
}

.card__body .card__dates {
  font-size: 24px;
    text-align: center;
    color: #999999;
    margin-bottom: 0.4em;
}

.card__body tr:not(:last-child) td {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

.card__body tr td:last-child {
  text-align: center;
}

.card__body tr td:last-child img {
  margin-right: 0;
}

.card__body .card__value {
  /*grid-column: span 3;*/
}

.card__text__header {
  font-weight: bold;
    white-space: nowrap;
    padding-right: 1em;
    line-height: 2;
}

.card__text__header.card__text__header_hoverable b {
  cursor: pointer;
    padding-bottom: 3px;
    border-bottom: 2px dashed black;
}

.card__icon {
  max-width: 40px;
    border-radius: 3px;
    vertical-align: middle;
}

.card__img__container {
  margin: 0 auto 15px;
    position: relative;
}

.card__img {
  max-width: max(80vw, 300px);
    max-height: max(40vh, 200px);
    min-height: min(30vh, 150px);
    border-radius: 10px;
    display: block;
}

.card__img__report {
  position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: #DC5E5D;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}

.card__img__report:hover {
  background-color: #bf2928;
}

.card__img__report svg {
  width: 60%;
    height: 60%;
}

@keyframes animloader {
  0% {
      box-shadow: 10px 0 rgba(255, 255, 255, 0), 20px 0 rgba(255, 255, 255, 0);
    }
    50% {
      box-shadow: 10px 0 white, 20px 0 rgba(255, 255, 255, 0);
    }
    100% {
      box-shadow: 10px 0 white, 20px 0 white;
    }
}

.flag {
  border: 1px solid #000;
}

td.clickable {
  cursor: pointer;
    text-decoration: underline;
}

.tooltip {
  z-index: 1000;
    background-color: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    line-height: 1.3;
}

.tooltip-arrow {
  width: 8px;
    height: 8px;
    background-color: #333;
    position: absolute;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
}

@keyframes rotation {
  0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}

@media screen and (max-width: 600px) {
  .card {
    padding: 15px;
  }

  .card__header {
    font-size: 24px;
  }

  .card__body .card__dates {
    font-size: 18px;
  }

  .card__body {
    font-size: 15px;
  }

  .card__button {
    font-size: 14px;
  }

  .card__button {
    padding: 5px 10px;
        font-size: 12px;
  }

  .card__img {
    max-height: 30vh;
  }
}

/* Source: region.css (body.lite-region) */
body.lite-region {
  margin: 60px;
    background-color: #EEEEEE;
    font-family: "Graphik LC", sans-serif;
}

:where(body.lite-region) a {
  text-decoration: none;
    color:  #575757;
}

:where(body.lite-region) li {
  display: block;
}

:where(body.lite-region) .tiles {
  display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 50px;
}

:where(body.lite-region) .tile-card {
  display: flex;
    flex-direction: row;
    width: 295px;
}

:where(body.lite-region) .tile-card__img {
  width: 180px;
    height: 97px;
    object-fit: cover;
    margin-right: 1rem;
    box-shadow: 0px 0px 8.81px 0px #0000004D;
    border-radius: 10px;
}

:where(body.lite-region) .tile-card__text {
  display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

:where(body.lite-region) .tile-card__text strong {
  color: #000;
}

:where(body.lite-region) .count {
  font-size: 14px;
    color: #666;
    margin-left: 5px;
}

:where(body.lite-region) h2 {
  font-size: 32px;
    margin: 30px 0 20px 0;
    color: #333;
}

:where(body.lite-region) .header {
  display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

:where(body.lite-region) .header__nav {
  display: flex;
    align-items: center;
    gap: 20px;
}

:where(body.lite-region) .header__logo {
  width: 178px;
    height: 53px;
}

:where(body.lite-region) .header__link {
  padding: 10px;
    box-shadow: 0px 0px 8.81px 0px #0000004D;
    border-radius: 30px;
}

:where(body.lite-region) .header h1 {
  margin-top: 0;
    font-size: 55px;
}

:where(body.lite-region) .header__subtitle {
  margin: 10px 0 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.4;
    color: #555;
}

:where(body.lite-region) .region-stats {
  text-align: center;
    margin-bottom: 30px;
}

:where(body.lite-region) h2 {
  font-size: 36px;
    margin: 40px 0 20px 0;
    color: #333;
}

:where(body.lite-region) .troop-types .tile-card {
  position: relative;
}

:where(body.lite-region) .troop-types .count {
  font-size: 14px;
    color: #666;
    display: block;
    margin-top: 5px;
}

:where(body.lite-region) .people-grid {
  margin-bottom: 40px;
}

:where(body.lite-region) .people-grid .tile-card__img {
  width: 97px;
    height: 97px;
}

@media (max-width: 760px) {
  :where(body.lite-region) .header {
    flex-direction: column-reverse;
        gap: 10px;
  }

  :where(body.lite-region) .header__logo {
    width: 100px;
        height: 30px;
  }

  :where(body.lite-region) .header h1 {
    font-size: 30px;
  }

  :where(body.lite-region) .header__subtitle {
    font-size: 16px;
        margin-top: 8px;
  }

  :where(body.lite-region) h2 {
    font-size: 28px;
  }

  :where(body.lite-region) .tiles {
    grid-template-columns: repeat(auto-fit, min(700px, 90%));
  }

  :where(body.lite-region) .tile-card {
    width: 95%;
  }

  :where(body.lite-region) .people-grid .tile-card__img {
    width: 97px;
        height: 97px;
  }
}

/* Source: type.css (body.lite-type) */
body.lite-type {
  margin: 60px;
    background-color: #EEEEEE;
    font-family: "Graphik LC", sans-serif;
}

:where(body.lite-type) a {
  text-decoration: none;
    color:  #575757;
}

:where(body.lite-type) .tiles {
  display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 50px;
}

:where(body.lite-type) .tiles.troop-types {
  grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    justify-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}

:where(body.lite-type) .tile-card {
  display: flex;
    flex-direction: row;
    width: 295px;
}

:where(body.lite-type) .tiles.troop-types .tile-card {
  width: 100%;
    flex-direction: column;
}

:where(body.lite-type) .tile-card__img {
  width: 97px;
    height: 97px;
    object-fit: cover;
    margin-right: 1rem;
    box-shadow: 0px 0px 8.81px 0px #0000004D;
    border-radius: 10px;
}

:where(body.lite-type) .tile-card__text {
  display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

:where(body.lite-type) .tile-card__text strong {
  color: #000;
    margin-bottom: 5px;
}

:where(body.lite-type) .header {
  display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

:where(body.lite-type) .header__nav {
  display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

:where(body.lite-type) .header__logo {
  width: 178px;
    height: 53px;
}

:where(body.lite-type) .header__link {
  padding: 10px;
    box-shadow: 0px 0px 8.81px 0px #0000004D;
    border-radius: 30px;
}

:where(body.lite-type) .header h1 {
  margin-top: 0;
    font-size: 55px;
}

:where(body.lite-type) .header__logo_mobile {
  display: none;
    width: 132px;
    margin: 0 auto;
}

:where(body.lite-type) .header__logo_mobile img {
  width: 132px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 900px) {
  body.lite-type {
    margin: 18px;
  }

  :where(body.lite-type) .header__logo_mobile {
    display: block;
  }

  :where(body.lite-type) .header {
    flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-bottom: 46px;
  }

  :where(body.lite-type) .header__logo {
    display: none;
  }

  :where(body.lite-type) .header__logo_mobile {
    display: block;
  }

  :where(body.lite-type) .header__link {
    font-size: 25px;
  }

  :where(body.lite-type) .header h1 {
    font-size: 50px;
        width: 90%;
        max-width: 700px;
        text-align: center;
        margin: 0;
  }

  :where(body.lite-type) .tiles {
    grid-template-columns: repeat(auto-fit, min(700px, 90%));
  }

  :where(body.lite-type) .tiles.troop-types {
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
  }

  :where(body.lite-type) .tile-card {
    width: 95%;
        flex-direction: row;
  }

  :where(body.lite-type) .tiles.troop-types .tile-card {
    width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
  }

  :where(body.lite-type) .tiles.troop-types .tile-card__img {
    margin-right: 0;
        margin-bottom: 12px;
  }

  :where(body.lite-type) .tiles.troop-types .tile-card__text {
    align-items: center;
  }

  :where(body.lite-type) .tile-card__text {
    font-size: 16px;
  }

  :where(body.lite-type) .tile-card__text strong {
    font-size: 18px;
        margin-bottom: 10px;
  }

  :where(body.lite-type) .tile-card__img {
    width: 97px;
        height: 97px;
  }

  :where(body.lite-type) .tiles.troop-types a {
    display: flex;
        flex-direction: column;
        align-items: center;
  }
}

:where(body.lite-type) .pagination {
  display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 40px;
}

:where(body.lite-type) .pagination-link {
  padding: 8px 12px;
    background: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
    min-width: 32px;
    text-align: center;
}

:where(body.lite-type) .pagination-link:hover {
  background: #f5f5f5;
    border-color: #999;
}

:where(body.lite-type) .pagination-link.current {
  background: #333;
    color: white;
    border-color: #333;
}

:where(body.lite-type) .pagination-ellipsis {
  padding: 8px 4px;
    color: #666;
}

:where(body.lite-type) .region-link {
  color: inherit;
    text-decoration: underline;
}

:where(body.lite-type) .region-stats {
  margin: 30px 0;
    text-align: center;
}

:where(body.lite-type) .region-stats h2 {
  font-size: 24px;
    color: #333;
    margin: 0;
    font-weight: 400;
}

:where(body.lite-type) .troop-types {
  margin-bottom: 40px;
}

:where(body.lite-type) .troop-types .tile-card .count {
  font-size: 14px;
    font-weight: normal;
    text-align: center;
    width: fit-content;
    min-width: 15px;
    background: lightgray;
    color: #666;
    padding: 6px;
    padding-bottom: 4px;
    border-radius: 10px;
}

:where(body.lite-type) .tiles.troop-types.location-groups {
  display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

:where(body.lite-type) .tiles.troop-types.location-groups li {
  flex: 0 0 auto;
    max-width: 100%;
}

:where(body.lite-type) .tiles.troop-types.location-groups li > a {
  display: block;
    width: fit-content;
    max-width: 100%;
    cursor: pointer;
}

:where(body.lite-type) .tiles.troop-types.location-groups .tile-card {
  display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    background: #fff;
    white-space: nowrap;
}

:where(body.lite-type) .tiles.troop-types.location-groups .tile-card:hover, :where(body.lite-type) .tiles.troop-types.location-groups li > a:focus-visible .tile-card {
  background: #f7f7f7;
    border-color: #bcbcbc;
}

:where(body.lite-type) .tiles.troop-types.location-groups .tile-card__text {
  display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-align: left;
}

:where(body.lite-type) .location-groups .tile-card__text strong {
  margin: 0;
    max-width: min(34ch, 82vw);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:where(body.lite-type) .location-groups .tile-card .count {
  flex: 0 0 auto;
    margin: 0 0 0 auto;
    min-width: 32px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #e4e4e4;
    color: #2d2d2d;
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

:where(body.lite-type) .tiles.troop-types.location-groups li.location-groups__more-inline {
  display: flex;
    align-items: center;
}

:where(body.lite-type) .tiles.troop-types.location-groups li.location-groups__more-inline > a.location-groups__more-inline-link {
  display: inline-block;
    width: auto;
    max-width: min(640px, 95vw);
    padding: 4px 0;
    color: #333;
    text-decoration: underline;
    font-size: 18px;
    line-height: 1.25;
}

:where(body.lite-type) .location-groups__seo-hidden {
  position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:where(body.lite-type) .location-groups__seo-hidden a {
  display: block;
}

:where(body.lite-type) .region-footer {
  margin: 90px 0;
    text-align: center;
}

:where(body.lite-type) .region-footer__link {
  color: #333;
    font-size: 28px;
    text-decoration: underline;
}

@media (max-width: 900px) {
  :where(body.lite-type) .tiles.troop-types.location-groups li.location-groups__more-inline > a.location-groups__more-inline-link {
    font-size: 17px;
  }

  :where(body.lite-type) .region-footer__link {
    font-size: 24px;
  }
}

/* Source: person.css (body.lite-person) */
:where(body.lite-person) .card {
  order: 3;
    pointer-events: all;
    background-color: white;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 999;
}

:where(body.lite-person) .card .card__title {
  font-weight: 600;
    text-align: center;
    font-size: 30px;
    max-width: 400px;
    margin: auto;
    margin-bottom: 15px;
}

:where(body.lite-person) .card table a {
  color: #000;
}

:where(body.lite-person) .card__header {
  background: white;
    color: black;
    font-size: 33px;
    position: relative;
    word-wrap: break-word;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

:where(body.lite-person) .card__body {
  color: #000000;
    display: flex;
    flex-direction: column;
    font-size: 22px;
    line-height: 2;
}

:where(body.lite-person) .card__button {
  background: #DC5E5D;
    color: white;
    display: inline-block;
    padding: 7px 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: auto;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 2;
    cursor: pointer;
}

:where(body.lite-person) .card__button:hover {
  background: #bf2928;
}

:where(body.lite-person) .card__body .card__text {
  /*margin-bottom: 0.5em;*/
}

:where(body.lite-person) .card__body .card__dates {
  font-size: 24px;
    text-align: center;
    color: #999999;
    margin-bottom: 0.4em;
}

:where(body.lite-person) .card__body tr:not(:last-child) td {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

:where(body.lite-person) .card__body tr td:last-child {
  text-align: center;
}

:where(body.lite-person) .card__body tr td:last-child img {
  margin-right: 0;
}

:where(body.lite-person) .card__body .card__value {
  /*grid-column: span 3;*/
}

:where(body.lite-person) .data-source-button {
  padding: 0;
    margin: 0;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 2px dashed black;
    height: 1.5em;
}

:where(body.lite-person) .data-source-button:focus-visible {
  outline: 2px solid #5A87CE;
    outline-offset: 3px;
    border-bottom: 2px solid black;
}

:where(body.lite-person) .tooltip {
  position: absolute;
    z-index: 1000;
    background-color: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.3;
}

:where(body.lite-person) .tooltip__content a {
  color: #fff;
    text-decoration: underline;
}

:where(body.lite-person) .tooltip-arrow {
  position: absolute;
    width: 10px;
    height: 10px;
    background-color: #333;
    transform: translateX(-50%) rotate(0deg);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

:where(body.lite-person) .card__icon {
  max-width: 40px;
    border-radius: 3px;
    vertical-align: middle;
}

:where(body.lite-person) .card__img__container {
  margin: 0 auto 15px;
    position: relative;
}

:where(body.lite-person) .card__img {
  max-width: max(80vw, 300px);
    max-height: max(40vh, 200px);
    min-height: min(30vh, 150px);
    border-radius: 10px;
    display: block;
}

:where(body.lite-person) .card__img__report {
  position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: #DC5E5D;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}

:where(body.lite-person) .card__img__report:hover {
  background-color: #bf2928;
}

:where(body.lite-person) .card__img__report svg {
  width: 60%;
    height: 60%;
}

:where(body.lite-person) td.clickable {
  cursor: pointer;
    text-decoration: underline;
}

:where(body.lite-person) .card__breadcrumbs {
  font-size: 14px;
    text-transform: uppercase;
    opacity: 0.4;
  
    display: flex;
    justify-content: center;
  
    margin-bottom: 7px;
}

:where(body.lite-person) .card__breadcrumbs a {
  text-decoration: none;
    color: #000;
}

:where(body.lite-person) .logo__container {
  width: 100%;
    max-width: 1440px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
  
    position: fixed;
    justify-content: flex-end;
}

:where(body.lite-person) .header__logo {
  margin: 15px;
    width: 180px;
}

:where(body.lite-person) .info-block {
  display: flex;
    flex-direction: column;
    max-width: 600px;
    color: #FFF;
    text-align: center;
    font-size: 30px;
    gap: 15px;
    padding: 28px 0;
}

:where(body.lite-person) .info-block p {
  margin: 0;
}

:where(body.lite-person) .info-block__links {
  display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

:where(body.lite-person) .info-block__links a {
  text-decoration: none;
    background-color: #EEEEEE;
    color: #1B1B1B;
    padding: 10px;
    /* box-shadow: 0px 0px 8.81px 0px #0000004D; */
    box-shadow: 0px 4.474px 11.186px 0px rgba(0, 0, 0, 0.40);
    border-radius: 33px;
    text-align: center;
    font-size: 20px;
    line-height: 18px; /
}

:where(body.lite-person) .overlay {
  background-color: rgba(27, 27, 27, 0.85);
}

:where(body.lite-person) .empty-block {
  display: block;
    width: 100%;
    padding-top: 50px;
    order: 4;
    content: " ";
}

@media screen and (max-width: 990px) {
  :where(body.lite-person) .logo__container {
    order: 1;
        position: relative;
        justify-content: center;
        margin-top: 10px;
        margin-bottom: 12px;
  }

  :where(body.lite-person) .header__logo {
    width: 140px;
        margin: 0;
  }

  :where(body.lite-person) .card {
    order: 2;
  }

  :where(body.lite-person) .info-block {
    order: 3;
        padding: 13px 0;
        font-size: 28px;
  }

  :where(body.lite-person) .card {
    padding: 15px;
  }

  :where(body.lite-person) .card .card__title {
    font-size: 22px;
  }

  :where(body.lite-person) .card__header {
    font-size: 24px;
  }

  :where(body.lite-person) .card__body .card__dates {
    font-size: 18px;
  }

  :where(body.lite-person) .card__body {
    font-size: 15px;
  }

  :where(body.lite-person) .card__button {
    font-size: 14px;
  }
}
