#church_images {
  position: relative; }

.church_image {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  padding-bottom: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px; }
  .church_image .icon_open {
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    background: var(--light_primary);
    border-radius: 4px; }
  .church_image .icon_open::after {
    width: 16px;
    height: 16px;
    margin: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.66675 2.66666H6.66675M2.66675 2.66666V6.66666M2.66675 2.66666L8.00008 7.99999M8.00008 2.66666H13.3334V13.3333H2.66675V7.99999' stroke='%23110D01' stroke-opacity='0.6'/%3E%3C/svg%3E%0A"); }

.image {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  padding-bottom: 66.6%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px; }

.skeleton {
  opacity: 30%; }

.image_overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%; }
  .image_overlay .dark_overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px); }
  .image_overlay #image_content {
    position: relative;
    z-index: 102; }
    .image_overlay #image_content .image_container {
      position: relative;
      height: 500px; }
      .image_overlay #image_content .image_container .img {
        display: inline-block;
        vertical-align: middle;
        border-radius: 8px;
        max-width: 100%;
        height: 100%;
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: 50% 50%; }
      .image_overlay #image_content .image_container .prev_image, .image_overlay #image_content .image_container .next_image {
        content: '';
        position: absolute;
        width: 32px;
        height: 32px;
        border-radius: 1000px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        transition: var(--animate);
        visibility: hidden;
        opacity: 0; }
      .image_overlay #image_content .image_container .prev_image {
        background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='32' height='32' rx='16' fill='%23F0F0F0'/%3E%3Cpath d='M10.0714 16L22.9286 16' stroke='%23110D01' stroke-opacity='0.6'/%3E%3Cpath d='M16.0714 22L10.0714 16L16.0714 10' stroke='%23110D01' stroke-opacity='0.6'/%3E%3C/svg%3E%0A");
        left: 16px; }
      .image_overlay #image_content .image_container .next_image {
        background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='32' height='32' rx='16' fill='%23F0F0F0'/%3E%3Cpath d='M21.9286 16L9.07139 16' stroke='%23110D01' stroke-opacity='0.6'/%3E%3Cpath d='M15.9286 22L21.9286 16L15.9286 10' stroke='%23110D01' stroke-opacity='0.6'/%3E%3C/svg%3E%0A");
        right: 16px; }
      .image_overlay #image_content .image_container:hover .prev_image, .image_overlay #image_content .image_container:hover .next_image {
        visibility: visible;
        opacity: 1;
        transition: var(--animate); }
        .image_overlay #image_content .image_container:hover .prev_image.disabled, .image_overlay #image_content .image_container:hover .next_image.disabled {
          opacity: 0.3; }
  .image_overlay .close_image_overlay {
    position: absolute;
    right: 136px;
    top: 64px;
    padding: 4px 8px;
    border-radius: 4px;
    background: white;
    display: inline-block;
    cursor: pointer;
    z-index: 103; }

.type_of_settlement {
  font-size: 14px;
  margin-top: 0; }

.yandex_map {
  position: relative;
  width: 100%;
  height: 100vh; }
  .yandex_map .ymaps-2-1-79-map {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 0;
    height: 100vh; }
    .yandex_map .ymaps-2-1-79-map .ymaps-2-1-79-zoom {
      display: none !important; }
    .yandex_map .ymaps-2-1-79-map .ymaps-2-1-79-search {
      display: none !important; }
  .yandex_map #map_page {
    position: absolute;
    z-index: 1;
    max-width: 532px;
    width: 100%; }
    .yandex_map #map_page.opened {
      max-width: 100%; }
    .yandex_map #map_page .church_info {
      top: 0;
      left: 0; }
      @media only screen and (min-width: 968px) {
  .yandex_map #map_page .church_info {
    top: 40px;
    left: 40px; } }
      .yandex_map #map_page .church_info .all_churches {
        box-shadow: 20px 20px 40px 0px rgba(0, 0, 0, 0.20);
        border-radius: 12px;
        background: #fff;
        padding: 16px 32px;
        margin-left: 16px; }
  .yandex_map .paragraph .list:before {
    margin: 0;
    width: 0;
    height: 0; }

.church_header_info .curche_date {
  width: 100%;
  max-width: 200px; }
  .church_header_info .date_of_construction_container {
    display: flex;
    justify-content: space-between; }
    .church_header_info .date_of_construction_container .date_of_construction {
      text-align: center;
      white-space: nowrap;
      text-overflow: ellipsis;
      max-width: 100%;
      overflow: hidden; }
  .church_header_info .rashkino_icon {
    margin-right: 12px;
    width: 48px;
    height: 48px; }
  .church_header_info .icon_column {
    display: inline-block;
    vertical-align: top; }
  .church_header_info .church_info_column {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 64px); }

.all_churches_cards {
  display: grid;
  row-gap: 64px;
  column-gap: 32px;
  grid-template-columns: 1fr; }
  @media only screen and (min-width: 968px) {
  .all_churches_cards {
    grid-template-columns: repeat(3, 1fr); } }
  .all_churches_cards .card {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0; }
    .all_churches_cards .card.hidden {
      display: none; }
    .all_churches_cards .card .image {
      position: relative;
      background-size: cover;
      background-position: 50% 50%;
      background-repeat: no-repeat;
      transition: var(--animate); }
      .all_churches_cards .card .image.no_image:before {
        content: 'Нет изображений';
        color: var(--l_text_disabled);
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); }

.curche_date {
  padding: 2px 12px;
  border-radius: 1000px;
  background: var(--light_secondary); }
  .curche_date .text {
    transform: translateY(1px); }

.hidden {
  display: none; }

.paragraph_characteristic {
  border-bottom: 1px dashed var(--l_border_color); }

#all_churches_page .search_input {
  position: relative; }
  #all_churches_page .search_input input {
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 4px;
    width: 100%; }
  #all_churches_page .search_input .icon::after {
    position: absolute;
    margin: 0;
    top: 12px;
    right: 12px;
    transform: translateY(-3px);
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='5.5' stroke='%23030423'/%3E%3Cpath d='M14 14L20 20' stroke='%23030423'/%3E%3C/svg%3E%0A"); }
  #all_churches_page .churches_sortings .sort {
    position: relative; }
    #all_churches_page .churches_sortings .sort .name {
      padding: 12px;
      background: var(--light_secondary);
      border-radius: 4px; }
    #all_churches_page .churches_sortings .sort .inner {
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%; }
      #all_churches_page .churches_sortings .sort .inner .sort {
        padding: 0;
        background: var(--light_secondary); }

.image_prev {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='32' height='32' rx='16' fill='%23F0F0F0'/%3E%3Cpath d='M10.0714 16L22.9286 16' stroke='%23110D01' stroke-opacity='0.6'/%3E%3Cpath d='M16.0714 22L10.0714 16L16.0714 10' stroke='%23110D01' stroke-opacity='0.6'/%3E%3C/svg%3E%0A"); }

.image_next {
  margin-left: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='32' height='32' rx='16' fill='%23F0F0F0'/%3E%3Cpath d='M21.9286 16L9.07139 16' stroke='%23110D01' stroke-opacity='0.6'/%3E%3Cpath d='M15.9286 22L21.9286 16L15.9286 10' stroke='%23110D01' stroke-opacity='0.6'/%3E%3C/svg%3E%0A"); }

.image_next, .image_prev {
  content: '';
  width: 32px;
  height: 32px;
  border-radius: 1000px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  transition: var(--animate); }
  .image_next.disabled, .image_prev.disabled {
    opacity: 0.5; }

.show_church_card {
  position: relative;
  box-shadow: 20px 20px 40px 0px rgba(0, 0, 0, 0.20);
  border-radius: 12px;
  background: #fff;
  padding: 16px 32px;
  width: auto;
  display: inline-block;
  margin-left: 16px; }

#church_info_card_container {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 100%;
  top: 0;
  padding: 0;
  left: 0; }
  #church_info_card_container .overlay {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px); }
  #church_info_card_container .card {
    position: absolute;
    max-width: 1096px;
    top: 32px;
    z-index: 1002;
    left: 50%;
    transform: translateX(-50%); }

.small_church_info_card {
  max-width: 533px;
  padding: 32px;
  background: var(--light_primary);
  z-index: 1000;
  border-radius: 12px;
  box-shadow: 20px 20px 40px 0px rgba(0, 0, 0, 0.20);
  margin-left: 16px; }

#address {
  position: relative;
  padding: 8px 12px;
  border: 0;
  width: calc(100% - 32px);
  transform: translateY(-1px); }

#church_info_card {
  width: 100%;
  border-radius: 8px;
  position: relative;
  background: #fff;
  box-shadow: 20px 20px 40px 0px rgba(0, 0, 0, 0.20);
  position: relative;
  min-width: 1000px;
  width: 100%; }
  @media only screen and (min-width: 968px) {
  #church_info_card {
    padding: 64px;
    border-radius: 12px; } }
  #church_info_card .close_popup {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: var(--light_secondary);
    display: inline-block;
    cursor: pointer; }
  #church_info_card .close_popup:before {
    position: relative;
    left: calc(50% - 1px);
    top: calc(50% - 2px);
    transform: translate(-50%, -50%);
    width: 21px;
    height: 21px;
    margin: 0;
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5L17 17M17 5L5 17' stroke='black'/%3E%3C/svg%3E%0A"); }

.rashkino_icon {
  display: inline-block;
  vertical-align: middle;
  width: 32px;
  height: 32px;
  background-size: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat; }

.name {
  width: calc(100% - 32px); }

.show_on_map_link {
  margin-left: -6px; }

#church_all_images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; }
  #church_all_images .church_image {
    cursor: pointer;
    opacity: 0.3;
    transition: var(--animate); }
  #church_all_images .church_image:hover {
    opacity: 0.4; }
  #church_all_images .church_image.active {
    opacity: 1; }

.selected_filters .clear_filters {
  padding: 9px 12px 6px 12px;
  display: inline-block;
  background-color: var(--light_secondary);
  border-radius: 8px;
  cursor: pointer; }
  .selected_filters .clear_filters:after {
    width: 21px;
    height: 21px;
    transform: translateY(-1px);
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5L17 17M17 5L5 17' stroke='%23110D01' stroke-opacity='0.98'/%3E%3C/svg%3E%0A"); }
  .selected_filters .selected_filter {
    padding: 9px 12px 6px 12px;
    display: inline-block;
    background-color: var(--accent_primary);
    color: var(--d_text_primary);
    border-radius: 8px;
    cursor: pointer; }
  .selected_filters .selected_filter:after {
    width: 21px;
    height: 21px;
    transform: translateY(-1px);
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5L17 17M17 5L5 17' stroke='white'/%3E%3C/svg%3E%0A"); }

.button_close {
  border-radius: 4px;
  background: var(--light_secondary);
  display: inline-block;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px; }
  .button_close:before {
    position: relative;
    width: 21px;
    height: 21px;
    margin: 0;
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 5L17 17M17 5L5 17' stroke='black'/%3E%3C/svg%3E%0A"); }

.hidden {
  display: none; }
