h4 {
  margin: 0;
  font-weight: 400;
}
.text-page {
  background: #ffffff;
}
.text-content {
  color:#000;
  margin-top: 100px;
}
.text-content__wrapper {
  position:relative;
  display:flex;
  width: 90vw;
  max-width: 1600px;
  margin:20px auto;
  border-radius:24px;
  background-color:#fff;
  justify-content: space-around;
  gap: 24px;
  align-items: flex-start;
}
.text-nav__subtitle,.text-nav__title {
  /* width:100%; */
  -webkit-transition:all 150ms ease;
  display:inline-block
}
.text-nav {
  padding: 44px 44px 24px 24px;
  border-radius: 16px;
  background-color:#f0f0f0;
  flex: 0 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: sticky;
  position: -webkit-sticky;
  top: 120px;
}

.text-nav__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom:15px;
  margin-left: 32px;
  transition:all 150ms ease;
  text-decoration:none;
  text-transform:uppercase;
  color: #000000;
}
.text-nav__title:hover {
  color: #ff0200;
}
.mfp-close,.modal__button_hire,.show-all {
  text-decoration:none
}
.text-nav__title_arrow {
  position:relative
}
.text-nav__title_arrow:before {
  position:absolute;
  top:-2px;
  left: -24px;
  width:20px;
  height:20px;
  content:'';
  background:url(../images/arrow__list.png) center no-repeat;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.text-nav__title_active_nav {
  color:#000
}
.text-article {
  font-size:16px;
  margin-top: 0;
  margin-bottom:20px;
  padding: 0 32px;
}
.text-article__list_title {
  font-size:14px;
  margin:5px 0
}
.text-article__title {
  font-size: 40px;
  display:inline-block;
  margin-top:0;
  padding-bottom:15px;
  border-bottom:1px solid red
}
.text-article__title:after {
  display:block;
  width:120px;
  content:' '
}
.image__item,.image__item_big,.image_text__image,.popup,.text-article__quote,h3.text-article__subtitle_contacts {
  display:inline-block
}
.text-article__text {
  font-size: 16px;
  margin-left:0
}
.contact_text_1 p {
  font-size: 16px;
  margin:2px 0 0 18px;
  color: #8a8a8a;
}
.contact_text_2 p {
  font-size: 16px;
  margin:2px 0 16px 18px;
  color: #8a8a8a;
}
.text-article__quote {
  width:100%;
  margin:20px 0;
  padding:20px 0;
  text-align:center;
  background-color:#f0f0f0
}
h2.quote__text {
  font-size:14px;
  font-weight:400
}
.list__holder {
  margin:5px 0;
  padding-left:20px;
  list-style-type:none
}
.list__holder_numeric {
  counter-reset:num
}
.list__line {
  font-size:14px
}
.list__line_numeric {
  position:relative
}
.list__line_numeric:before {
  position:absolute;
  left:-20px;
  content:counter(num) '. ';
  counter-increment:num;
  color:red
}
.list__line_marked {
  position:relative
}
.list__line_marked:before {
  position:absolute;
  left:-20px;
  content:'\25E6';
  color:red
}
.article__table {
  font-size:14px;
  border-spacing:0 0;
  border-collapse:separate
}
.table__name {
  width:25%
}
.table__stat {
  width:65%
}
.table__titles {
  font-weight:700;
  padding:10px 0;
  border-bottom:1px solid #000
}
.table__content {
  padding:10px 0;
  border-bottom:1px solid #9a9a9a
}
.table__cell_price {
  font-weight:700;
  text-align:right
}
.image__item {
  width:147px;
  height:107px;
  margin:10px;
  border-radius:5px
}
.image__item_heads {
  height:150px
}
.image__item_big {
  width:234px;
  height:170px;
  margin:0 10px 10px;
  border-radius:5px
}
.image__wrapper {
  text-align:center
}
.text-article__image_text {
  margin:20px 0;
  text-align:center
}
.image_text__image {
  float:left;
  width:150px;
  height:100px;
  margin:5px 10px 10px 0;
  border-radius:5px;
  background:url(../images/text__image.png) center no-repeat
}
.image_text__text {
  font-size:14px;
  float:left;
  width:340px;
  margin-bottom:10px;
  margin-left:10px;
  text-align:left
}
h3.text-article__subtitle {
  font-size:16px;
  text-align:left
}
.text-nav__title_arrow.text-nav__title_active:before {
  -webkit-transform:rotate(0deg);
  transform:rotate(0deg)
}

.text-article table tr:first-child {
    font-weight: 600;
    border-bottom: 1px solid #e5e5e5;
}

.text-article td {
    padding: 8px 12px 15px 0;
    vertical-align: top;
}

.text-article table {
    border-collapse: collapse;
}

.text-article table tr:first-child td {
    padding-bottom: 4px;
}

.text-article h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.text-article table p {
    margin: 0;
}

a.text-nav__title.text-nav__title_active.current_branch {
    font-weight: 800;
    letter-spacing: 0.05em;
}

.testimonial__wrapper {
    flex-grow: 1;
    width: 100%;
}

.text-article a {
    color: #000;
}

.col_contact__mobile {
    width: 48%;
}

.testimonial__card {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.col_contact__owners {
    margin-top: 20px;
    text-align: center;
    min-height: 230px;
    width: 32%;
    padding: 0 24px;
}

h3.text-article__subtitle_owners {
    font-size: 18px;
    position: relative;
}
.text-article__subtitle_owners a {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  width: 24px;
  height: 24px;
  margin: 0 0 5px 0;
}
.text-article__subtitle_owners .social__button {
  position: static !important;
}
a.contact_social_link:hover {
  color: #000000;
  font-weight: 700;
}

.vacancies__wrapper .col_contact__mobile {
    width: 100%;
}

.vacancies__wrapper h3 {
    font-size: 18px;
}

.guides__wrapper .testimonial__card {
    width: 100%;
    gap: 8px 24px;
}

h3.text-article__subtitle {
    margin: 0;
}

.guides__wrapper .row {
    gap: 32px;
}

.guides__wrapper a {
    text-decoration: none;
}

.guides__wrapper a:hover {
    color: #ff3720;
}

.guide__wrapper img {
    border-radius: 8px;
}

.text-article td:first-child {
    padding-right: 24px;
    max-width: 350px;
}

.footer__payments-wrapper .contacts__title {
    width: 100%;
    padding: 12px 0;
}

p.payment__desc {
    font-size: 12px;
}

.testimonial__wrapper .text-article {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0 4%;
}

span.author-name {
    display: flex;
}

.testimonial__card_author {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

img.user__image {
    margin-top: 6px;
    /* width: 44px; */
}

.testimonial__wrapper h3.text-article__subtitle {
    font-size: 20px;
}

p.text-article__text.review-body {
    margin-top: 16px;
    width: 100%;
}

.testimonial__card span {
    font-size: 12px;
}

@media only screen and (max-width:970px) {
  .image_text__text {
    width:64%
  }
  .image__wrapper {
    margin-right:-15px;
    margin-left:-15px
  }
}
@media only screen and (max-width:767px) {
  .image_text__image {
    display:none
  }
  .image_text__text {
    width:100%;
    margin:0;
    text-align:left
  }
  .image__item {
    display:inline-block;
    width:234px;
    height:170px;
    margin:0 10px 10px;
    border-radius:5px
  }
  .text-article {
    padding: 0 16px;
    width: 100%;
  }
  img.user__image {width: 100%;}
  .col_contact__mobile {
    width: 100%;
  }
  .col_contact__owners {
    width: 100%;
  }
  .text-article__title {
    font-size: 28px;
  }
}