.review-wrapper {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  margin-top: 40px;
}

.review-wrapper .review-form {
  width: 100%;
  display: block !important;
  border: 1px solid transparent;
}

.review-wrapper .review-form .form__video {
  flex-wrap: wrap;
}

.review-wrapper .review-form .form__video-label {
  font-size: 14px;
  width: 100%;
  margin-bottom: 8px;
}

.review-wrapper__list {
  flex-basis: 63%;
  max-width: 63%;
  margin-right: 2%;
}

.review-modal-link {
  display: none;
}

@media only screen and (max-width: 63.75em) {
  .review-wrapper__list {
    flex-basis: 100%;
    max-width: 100%;
    margin-right: 0%;
  }

  .review-wrapper__form {
    display: none;
  }

  .review-modal-link {
    display: inline-block;
  }
}

.review-wrapper__form {
  position: absolute;
  flex-basis: 35%;
  max-width: 35%;
  width: 35%;
  right: 0;
  /*transition: all 0.2s;*/
}

.reviews__item {
  flex-basis: 100%;
  max-width: 100%;
  /* border: 1px solid #f1f1f1; */
}

.offer .reviews__item-header {
  padding: 20px 25px 0;
}
.offer .reviews__item-place {
  padding: 0px 25px 0px;

  border: 0;
}
.offer .reviews__item-text {
  padding: 5px 25px 25px;
}
.offer .reviews__item {
  border: 0;
  border-right: 1px solid #f1f1f1;
}
.form__field--border {
  overflow: hidden;
}
.offer .reviews__link {
  border: 0;
}

.offer .img-load__post {
  background-color: #f9f9f9;
}

.reviews__item--has-image {
  min-height: 250px;
}

.reviews__item-image {
  display: flex;
  width: 30%;
  cursor: pointer;
}

.reviews__item-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 2em 2em 2em 3em;
  align-self: center;
}

.reviews__item-container--has-image {
  width: 70%;
}

.reviews__item-content {
  position: relative;
  padding: 0;
}

.reviews__item-text {
  line-height: 1.45;
}

.reviews__item-content--has-avatar {
  position: relative;
  padding-left: 100px;
}

.reviews__item-container--has-image .reviews__item-content--has-avatar {
  transform: translateX(-70px);
  padding-left: 70px;
}

.reviews__item-separator {
  position: relative;
  width: 100%;
  margin: 1em 0;
}

.reviews__item-separator span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f10018;
  text-transform: uppercase;
  z-index: 1;
  position: relative;
  display: inline-block;
  padding-right: 15px;
  background-color: #fff;
}

.reviews__item-separator:after {
  position: absolute;
  top: 40%;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background-color: #f10018;
  content: "";
}

.reviews__item-separator:before {
  position: absolute;
  background-color: #fff;
  top: 0;
  bottom: 0;
  right: 0;
  display: block;
  width: 15%;
  content: "";
  z-index: 1;
}

.reviews__item-sign {
  margin-top: 15px;
}

.reviews__item-user {
  font-size: 14px;
  font-weight: 700;
}

.reviews__item-descr {
  font-size: 12px;
  color: #000000;
  mix-blend-mode: normal;
  opacity: 0.5;
  margin-left: 10px;
}

.reviews__avatar {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 70px;
  height: 70px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 70px;
  overflow: hidden;
}

.reviews__item-container--has-image .reviews__avatar {
  left: -15px;
}

@media only screen and (max-width: 37.5em) {
  .reviews__item {
    flex-direction: column;
  }

  .reviews__item-image {
    width: 100%;
    height: 350px;
  }

  .reviews__item-container {
    padding: 1.5em;
  }

  .reviews__item-container--has-image {
    width: 100%;
  }

  .reviews__item-container--has-image .reviews__item-content--has-avatar {
    transform: translateX(0);
    padding-left: 100px;
  }

  .reviews__item-container--has-image .reviews__avatar {
    left: 0;
  }
}

/************* FEEDBACK *******************/
.gallery--feedback {
}

.gallery__list--feedback {
}

.gallery--feedback .gallery__item {
  -ms-flex-preferred-size: calc(33.3333% - 0.833333em);
  -webkit-flex-basis: calc(33.3333% - 0.833333em);
  flex-basis: calc(33.3333% - 0.833333em);
  max-width: calc(33.3333% - 0.833333em);
  margin-bottom: 1.25em;
  cursor: pointer;
  margin-right: 0 !important;
}

.gallery--feedback .gallery__item:not(:nth-child(3n)) {
  margin-right: 1.25em !important;
}

.gallery--feedback .gallery__info-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 30px;
}

.gallery--feedback .gallery__title {
  font-size: 1.125rem;
}

.gallery--feedback .gallery__location {
  margin: 0.5em 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1;
  text-transform: lowercase;
}

.gallery--feedback .gallery__link {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  z-index: 2;
  opacity: 0.75;
  transition: opacity 0.4s;
}

.gallery--feedback .gallery__link:hover {
  opacity: 1;
}

.feedback {
  padding: 0;
  overflow: initial;
  max-width: calc(100% - 200px);
  /*max-height: 90%;*/
}

.feedback .fancybox-close-small:after {
  background: transparent;
  border-radius: 0;
  font-size: 2rem;
  right: 25px;
  top: 23px;
}

.feedback__container {
  display: flex;
  max-height: 580px;
  width: 980px;
  max-width: 100%;
  overflow: hidden;
}

.feedback__container:after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 55%;
  right: 0;
  height: 50px;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
}

.feedback__content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 45%;
  overflow-y: auto;
}

.feedback__content--fullwidth {
  width: 100%;
}

.feedback__content-title {
  position: relative;
  padding: 25px 50px 30px 25px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.375;
}

.feedback__content-title:after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 25px;
  right: 25px;
  height: 1px;
  background-color: #e2e2e2;
}

.feedback__content-logo {
  margin: 20px auto;
}

.feedback__content-text {
  padding: 0 25px 50px;
  line-height: 1.375rem;
  font-size: 0.9375rem;
}

.feedback__gallery {
  position: relative;
  display: flex;
  width: 55%;
}

.feedback__gallery-container {
  width: 100%;
  height: 100%;
}

.feedback__gallery-wrapper {
  width: 100%;
  height: 100%;
}

.feedback__gallery-slide {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: zoom-in;
}

.feedback__gallery-zoom {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  z-index: 2;
  pointer-events: none;
}

.feedback__gallery-thumbs-container {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 100px);
}

.feedback__gallery-thumbs-wrapper {
  width: 100%;
  height: 62px;
}

.feedback__gallery-thumbs-slide {
  height: 62px;
  width: 92px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

.feedback__gallery-thumbs-slide:after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: all 0.4s;
}

.feedback__gallery-thumbs-slide:hover:after {
  background-color: rgba(0, 0, 0, 0);
}

.feedback__gallery-thumbs-slide.swiper-slide-active:after {
  background-color: rgba(0, 0, 0, 0);
}

.feedback__gallery-button {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  transition: opacity 0.4s;
  margin: 0;
  padding: 30px;
  cursor: pointer;
  background: none;
}

.feedback__gallery-button img {
  position: absolute;
  top: 50%;
  left: 50%;
}

.feedback__gallery-button--next {
  right: 0px;
}

.feedback__gallery-button--prev img {
  transform: translate(-50%, -50%);
}

.feedback__gallery-button--next img {
  transform: translate(-50%, -50%) rotate(180deg);
}

.feedback__gallery-button--prev {
  left: -10px;
}

.feedback__gallery-button--disabled {
  pointer-events: none;
  opacity: 0.5;
}

.feedback__gallery-play {
  position: absolute;
  width: 15px;
  height: 16px;
  left: 50%;
  top: 39%;
  transform: translate(-50%);
}

.feedback__nav-link {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 2;
}

.feedback__nav-link--prev {
  left: -60px;
}

.feedback__nav-link--next {
  right: -60px;
}

@media only screen and (max-width: 63.75em) {
  .gallery--feedback .gallery__item {
    -ms-flex-preferred-size: calc(50% - 0.625em);
    -webkit-flex-basis: calc(50% - 0.625em);
    flex-basis: calc(50% - 0.625em);
    max-width: calc(50% - 0.625em);
    margin-bottom: 1.25em;
    cursor: pointer;
    margin-right: 0 !important;
  }

  .gallery--feedback .gallery__item:not(:nth-child(3n)) {
    margin-right: 0 !important;
  }

  .gallery--feedback .gallery__item:not(:nth-child(2n)) {
    margin-right: 1.25em !important;
  }

  .gallery--feedback .gallery__list {
    margin-top: 20px;
  }

  .feedback__container {
    flex-direction: column;
    height: 100%;
    max-height: 100%;
  }

  .feedback__gallery {
    width: 100%;
    height: 400px;
  }

  .feedback__content {
    width: 100%;
    height: 400px;
  }

  .feedback__container:after {
    left: 0;
  }

  .feedback__gallery-zoom {
    right: auto;
    left: 24px;
  }
}

@media only screen and (max-width: 37.5em) {
  .gallery--feedback .gallery__item {
    -ms-flex-preferred-size: calc(100%);
    -webkit-flex-basis: calc(100%);
    flex-basis: calc(100%);
    max-width: calc(100%);
    margin-bottom: 1.25em;
    cursor: pointer;
    margin-right: 0 !important;
  }

  .gallery--feedback .gallery__item:not(:nth-child(3n)) {
    margin-right: 0 !important;
  }

  .gallery--feedback .gallery__item:not(:nth-child(2n)) {
    margin-right: 0 !important;
  }

  .feedback {
    max-width: 97%;
  }

  .feedback__nav-link {
    display: none;
  }
}

/**** zoom-slide ****/

.zoom-slide.fancybox-is-open .fancybox-bg {
  opacity: 0.87;
  background-color: #f1f0ee;
}

.zoom-slide .fancybox-image {
  -webkit-filter: brightness(0.94);
  filter: brightness(0.94);
  opacity: 0.87;
}
