@page {
  margin: 0;
  size: landscape;
  marks: none;
}

@font-face {
  font-family: "Gilroy";
  src: url("Gilroy-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("Gilroy-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

.af-loader {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  padding-top: 10px;
}

@media screen and (max-width: 480px) {
  .af-loader {
    padding-bottom: 30px;
    margin-top: -30px;
  }
}

.af-spiner {
  margin: auto;
}


.af-spiner.af-spiner--loaded::after {
  animation: none;
  border-radius: 0;
  border-top: 0;
  border-left: 0;
  width: 17px;
  min-width: 17px;
  transform: rotate(45deg)
}

.fm-pdf {
  margin: 0 auto;
  font-family: Gilroy;
  font-size: 14px;
  /* grid */
  /* grid */
}

.fm-pdf * {
  box-sizing: border-box;
}

.fm-pdf__page {
  background-color: #fff;
  box-sizing: border-box;
  page-break-after: always;
  width: 1280px;
  height: 800px;
  position: relative;
  margin-bottom: 1px;
}

.page__offset {
  padding: 0 30px 0 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-top: -30px;
}

@media screen and (max-width: 480px) {
  .page__offset {
    margin-top: 0;
  }
}

.page__offset>div {
  width: 100%;
}

.page-header {
  display: flex;
  padding-bottom: 25px;
  align-items: center;
}

.page-header__logo {
  width: 140px;
}

.page-header__logo .bgimage {
  display: block;
  height: 52px;
  background-repeat: no-repeat;
  background-position: left center;
}

.page-header__title {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: #000000;
  margin-left: 24px;
  border-left: 1px solid #DFE1E5;
  height: 52px;
  display: flex;
  align-items: center;
  padding-left: 24px;
}

.page-header__phone {
  font-weight: 800;
  font-size: 28px;
  line-height: 52px;
  letter-spacing: 0.04em;
  color: #0B6D7A;
  margin-left: 24px;
}

.page-header__id {
  margin-left: auto;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  display: flex;
  align-items: center;
  letter-spacing: 0.04em;
  color: #808080;
  padding: 10px 15px;
  background: #F6F7F8;
}

.card-prop {
  display: flex;
  align-items: center;
}

.card-prop__main {
  padding-left: 15px;
}

.card-prop__icon span {
  display: block;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-position: center;
  background-position: center;
}

.card-prop__name {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.04em;
  color: #808080;
}

.card-prop__val {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.04em;
  color: #000000;
}

.page-footer {
  display: flex;
  align-items: center;
  padding-top: 30px;
}

.page-footer__prop {
  display: flex;
  margin: -20px;
}

.page-footer__item {
  padding: 20px;
}

.page-footer__price {
  margin-left: auto;
}

.page-price {
  display: flex;
  flex-direction: column;
  padding: 12px 24px;
  background: #0B6D7A;
  border-radius: 6px;
  color: #fff;
  gap: 4px;
}

.page-price__pub {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #F5D29D;
}

.page-price__usd {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.page-image {
  background-size: cover;
  background-color: #eee;
  background-repeat: no-repeat;
}

.page-properties {
  display: flex;
}

.page-properties__right {
  width: 580px;
}

.page-properties__right .page-image {
  margin-bottom: 15px;
}

.page-properties__right .page-image:last-child {
  margin-bottom: 0;
}

.page-properties__left {
  width: calc(100% - 580px);
  padding-right: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-properties__left h3 {
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 35px;
}

.page-properties__left ul {
  font-size: 16px;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-properties__left ul span {
  font-weight: 500;
  color: #808080;
  font-size: 18px;
}

.page-properties__left ul small {
  font-weight: 700;
  font-size: 18px;
}

.page-properties__left ul li {
  display: flex;
}

.page-properties__left ul li i {
  flex-grow: 1;
  border-bottom: 1px dotted #ccc;
  margin: 0 10px;
}

.page-description__images {
  display: flex;
  flex-wrap: wrap;
  margin: -6px;
}

.page-description__images .item-page-image {
  width: 33.33%;
  padding: 6px;
}

.page-description__item {
  padding: 10px 0;
  font-size: 16px;
}

.page-description__item-title {
  font-weight: bold;
  padding-bottom: 11px;
}

.page-description__item-text {
  line-height: 135%;
  font-size: 15px;
}

.page-description__text {
  padding: 0px 0 25px 0;
}

.page__footer {
  margin-top: auto;
}

.page {
  height: 100%;
}

.pdf-viewer__file {
  width: 0;
  height: 0;
  overflow: hidden;
}

.pdf-viewer {
  opacity: 1;
  transition: opacity 0.3s 0.2s ease;
}

.pdf-viewer.pdf-viewer--load {
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.pdf-viewer__preview {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-color: #ccc #ebebeb;
  scrollbar-width: thin !important;
  margin-top: 45px;
  margin-bottom: 20px;
}


.page-image {
  position: relative;
}

.page-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__logo img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-header__logo .bgimage {
  position: relative;
}

@media screen and (min-width: 992px) {
  .pdf-viewer__preview {
    margin-right: 8px;
  }

  .pdf-viewer__preview::-webkit-scrollbar {
    width: 5px;
    border-radius: 4px;
  }

  .pdf-viewer__preview::-webkit-scrollbar-track {
    background-color: #e2e6e8;
    border-radius: 4px;
  }

  .pdf-viewer__preview::-webkit-scrollbar-thumb {
    background-color: #cbcfd0;
    border-radius: 4px;
  }
}

/* popup */
@keyframes zoomInUp {
  from {
    transform: scale(0.97) translate3d(0, 16px, 0);
    opacity: 0;
  }

  to {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes load {
  to {
    transform: rotate(360deg);
  }
}

.html2pdf__overlay {
  pointer-events: none;
}

.pdf-viewer--popup {
  padding: 30px;
  min-width: 320px;
}

.link-load-pdf {
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
}

.af-popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow-x: auto;
  z-index: 100000000;
  opacity: 0;
  transition: 0.25s ease;
}

.af-popup__bg {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
  background-color: #000;
  transition: 0.3s ease;
  opacity: 0.75;
}

.af-popup__wrp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  z-index: 102;
  position: relative;
  min-height: 100%;
}

.af-popup--visible {
  opacity: 1;
}

.af-popup--mobile .af-popup__content {
  border-radius: 15px 15px 0 0;
}

.af-popup__content {
  border-radius: 4px;
  background: #fff;
  padding: 10px;
}

.af-popup__container {
  width: auto;
  max-width: 100%;
  margin: auto;
  padding: 50px 0;
  position: relative;
  animation: 0.2s ease 0.2s both zoomInUp;
  opacity: 0;
}

.af-popup__close {
  height: 24px;
  text-align: right;
  position: absolute;
  right: 15px;
  cursor: pointer;
  z-index: 101;
  top: 65px;
}

.af-popup__close svg {
  fill: #eee;
  width: 24px;
  height: 24px;
  stroke: #ccc;
  stroke-width: 2px;
}

.af-popup__close svg:hover {
  stroke: #222;
}

.af-spiner {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 105;
  background-color: #fff;
  position: relative;
}

.af-spiner::after {
  content: "";
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: 3px solid #0B6D7A;
  border-radius: 50%;
  border-left-color: transparent !important;
  transition: transform 0.5s linear;
  animation: 0.5s linear load infinite;
  display: inline-block;
  white-space: nowrap;
  flex-wrap: nowrap;
  position: relative;
}

/* popup */
.pdf-viewer__preview {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 1000px;
}


.fm-pdf--empty .page__header .page-header__logo {
  display: none;
}

.fm-pdf--empty .page__header .page-header__phone {
  display: none;
}

.fm-pdf--empty .page__header .page-header__title {
  margin-left: 0;
  border-left: 0;
  padding-left: 0
}

.pdf-viewer__button .btn {
  margin-left: auto;
  width: auto;
  padding: 0 2.5em;
}

.pdf-viewer__button {
  padding: 8px;
}

.pdf-viewer__button .btn::before {
  width: 26px;
  height: 26px;
  display: inline-block;
  background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgOTYgOTYwIDk2MCIgd2lkdGg9IjQ4Ij48cGF0aCBkPSJNMzE5IDgwNmgzMjJ2LTYwSDMxOXY2MHptMC0xNzBoMzIydi02MEgzMTl2NjB6bS05OSAzNDBxLTI0IDAtNDItMTh0LTE4LTQyVjIzNnEwLTI0IDE4LTQydDQyLTE4aDM2MWwyMTkgMjE5djUyMXEwIDI0LTE4IDQydC00MiAxOEgyMjB6bTMzMS01NTRWMjM2SDIyMHY2ODBoNTIwVjQyMkg1NTF6TTIyMCAyMzZ2MTg2LTE4NiA2ODAtNjgweiIvPjwvc3ZnPg==);
  content: "";
  background-size: 24px auto;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 11px;
}

.fm-pdf .page {
  padding-top: 0;
}

.af-popup--mobile .af-spiner {
  margin: auto;
  margin: 30px auto;
}


.page-four {
  display: flex;
  flex-wrap: wrap;
  margin: -5px;
}

.page-four__col {
  width: 50%;
  padding: 5px;
}

@keyframes fade-drop-filter {
  from {
    opacity: 0;
    transform: translateY(10vh);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 480px) {
  .af-popup--mobile .af-popup__container {
    padding-bottom: 0;
    margin-bottom: 0;
    width: 100%;
    animation: 0.2s ease 0.2s both fade-drop-filter;
  }
}

.bx-cnt-pres-b__card-i>img {
  width: 48px;
}