/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.account-page form {
  max-width: 360px;
}


.responsive-object {
  position: relative;
}

.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  min-width: 100%;
}

.table-scroll > table {
  border: 0;
}

@media (max-width: 600px) {
  .container img,
  .container picture img,
  .container figure img {
    max-width: 100%;
    width: auto;
    height: auto;
  }

  .container table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  img.left,
  img.right {
    float: none;
    display: block;
    margin: 0 0 1rem 0;
    max-width: 100%;
    height: auto;
  }
}

img.left {
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

img.right {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

img.full-width {
  display: block;
  height: auto;
  max-width: 100%;
}


html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
}

.footer {
  background-color: #e3e0e0;
  padding: 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 5px;
}
.footer-item {
  flex: 1 1 auto;
  max-width: 350px;
}

.footer-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease-in-out;
}


.footer-item a:hover {
  color: #10a7d0;
}

.footer-item img,
.footer-item figure img {
  max-width: 100%;
  height: auto;
}

.footer-item table {
  width: 100%;
  max-width: 100%;
}

.footer-item {
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .footer-item {
    max-width: 100%;
    width: 100%;
  }

  .footer-item table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.navbar {
  max-width: 1340px;
  margin: 0 auto;
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: .75rem;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bs-body-bg, #fff);
  box-shadow: 0 .2rem .75rem rgba(33, 37, 41, .06);
}

.table > :not(caption) > * > * {
  padding: .8rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--bs-border-color, #e9ecef);
  background: transparent;
  box-shadow: none;
  text-align: left;
  vertical-align: middle;
}

.table > thead > tr > th {
  color: var(--bs-secondary-color, #6c757d);
  background: var(--bs-tertiary-bg, #f8f9fa);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.table > tbody > tr {
  transition: background-color .15s ease;
}

.table > tbody > tr:hover > * {
  background: rgba(var(--bs-primary-rgb, 13, 110, 253), .045);
}

.table > tbody > tr:last-child > * {
  border-bottom: 0;
}

.spoiler {
  margin: 1rem 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.spoiler summary {
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.spoiler-content {
  padding: 0 1rem 1rem;
}

.tariff-block .tariff-table-wrap {
  width: 100%;
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: .75rem;
  background: var(--bs-body-bg, #fff);
  box-shadow: 0 .2rem .75rem rgba(33, 37, 41, .06);
  -webkit-overflow-scrolling: touch;
}

.tariff-block table {
  width: 100%;
  min-width: 640px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.tariff-block th,
.tariff-block td {
  padding: .8rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--bs-border-color, #e9ecef);
  text-align: left;
  vertical-align: middle;
}

.tariff-block th {
  color: var(--bs-secondary-color, #6c757d);
  background: var(--bs-tertiary-bg, #f8f9fa);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.tariff-block tbody tr {
  transition: background-color .15s ease;
}

.tariff-block tbody tr:hover {
  background: rgba(var(--bs-primary-rgb, 13, 110, 253), .045);
}

.tariff-block tbody tr:last-child td {
  border-bottom: 0;
}

.tariff-block td:first-child {
  font-weight: 600;
}

.tariff-block td:first-child,
.tariff-block td:nth-child(2),
.tariff-block td:nth-child(3) {
  white-space: nowrap;
}

.tariff-block td:nth-child(2),
.tariff-block td:nth-child(3),
.tariff-block td:nth-child(4) {
  color: var(--bs-secondary-color, #6c757d);
}

.tariff-block .tariff-service-heading th {
  padding: .7rem 1rem;
  color: var(--bs-body-color, #212529);
  background: rgba(var(--bs-primary-rgb, 13, 110, 253), .065);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.tariff-block .tariff-table-empty td {
  padding: 1.5rem 1rem;
  color: var(--bs-secondary-color, #6c757d);
  font-weight: 400;
  text-align: center;
}

.typed-table-block {
  margin: 1rem 0;
}

.typed-table-block__wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: .75rem;
  background: var(--bs-body-bg, #fff);
  box-shadow: 0 .2rem .75rem rgba(33, 37, 41, .06);
  -webkit-overflow-scrolling: touch;
}

.typed-table-block table {
  width: 100%;
  min-width: 640px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.typed-table-block caption {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--bs-border-color, #e9ecef);
  color: var(--bs-body-color, #212529);
  background: var(--bs-body-bg, #fff);
  font-weight: 600;
  text-align: left;
}

.typed-table-block th,
.typed-table-block td {
  padding: .8rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--bs-border-color, #e9ecef);
  text-align: left;
  vertical-align: middle;
}

.typed-table-block th {
  color: var(--bs-secondary-color, #6c757d);
  background: var(--bs-tertiary-bg, #f8f9fa);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.typed-table-block tbody tr {
  transition: background-color .15s ease;
}

.typed-table-block tbody tr:hover {
  background: rgba(var(--bs-primary-rgb, 13, 110, 253), .045);
}

.typed-table-block tbody tr:last-child td {
  border-bottom: 0;
}

.typed-table-block img {
  max-width: 100%;
  height: auto;
}

.tariff-block .tariff-filters {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tariff-block .tariff-filters .form-check {
  min-width: 0;
}

@media (max-width: 600px) {
  .tariff-block th,
  .tariff-block td,
  .typed-table-block th,
  .typed-table-block td {
    padding: .7rem .8rem;
  }

  .tariff-block .tariff-filters {
    align-items: flex-start !important;
  }

  .tariff-block .tariff-service-label,
  .tariff-block .tariff-service-filter {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .tariff-block .tariff-filters .form-check {
    margin-right: 0 !important;
  }
}

.subpages-block {
  list-style: none;
  margin: 0;
  padding: 0;
}

.subpages-block-container {
  margin: 1rem 0;
}

.subpages-block__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.5rem 8.5rem;
  gap: 1rem;
  padding: 0 .75rem .375rem calc(1.25rem + .75rem);
  border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.subpages-block__sort {
  padding: .25rem 0;
  border: 0;
  background: none;
  color: var(--bs-secondary-color, #6c757d);
  font-size: .875rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.subpages-block__sort:hover,
.subpages-block__sort:focus {
  color: var(--bs-link-color, #0d6efd);
}

.subpages-block__sort-indicator {
  display: inline-block;
  margin-left: .25rem;
  min-width: .75rem;
}

.subpages-block__item {
  position: relative;
  padding-left: calc(var(--subpage-level) * 1.5rem + 1.25rem);
}

.subpages-block__item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--subpage-level) * 1.5rem + .5rem);
  border-left: 1px solid var(--bs-border-color, #dee2e6);
  content: "";
}

.subpages-block__item::after {
  position: absolute;
  top: 50%;
  left: calc(var(--subpage-level) * 1.5rem + .5rem);
  width: .75rem;
  border-top: 1px solid var(--bs-border-color, #dee2e6);
  content: "";
}

.subpages-block__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.5rem 8.5rem;
  gap: 1rem;
  align-items: center;
  padding: .625rem .75rem;
  border-radius: .375rem;
  color: inherit;
  text-decoration: none;
  transition: background-color .15s ease-in-out;
}

.subpages-block__link:hover {
  background-color: rgba(var(--bs-primary-rgb), .08);
}

.subpages-block__page {
  display: flex;
  gap: .625rem;
  align-items: center;
  min-width: 0;
}

.subpages-block__icon {
  position: relative;
  flex: 0 0 auto;
  width: .875rem;
  height: 1.125rem;
  border: 1px solid currentColor;
  border-radius: 1px;
  color: var(--bs-secondary-color, #6c757d);
}

.subpages-block__icon::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: .35rem;
  height: .35rem;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  background: var(--bs-body-bg, #fff);
  content: "";
}

.subpages-block__title {
  color: var(--bs-link-color, #0d6efd);
}

.subpages-block__date {
  color: var(--bs-secondary-color, #6c757d);
  font-size: .875rem;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .subpages-block__header {
    grid-template-columns: 1fr 1fr;
    padding-left: calc(1.25rem + .75rem);
  }

  .subpages-block__header-spacer {
    display: none;
  }

  .subpages-block__link {
    grid-template-columns: 1fr 1fr;
  }

  .subpages-block__page {
    grid-column: 1 / -1;
  }

  .subpages-block__date {
    padding-left: 1.5rem;
  }
}
