.pagination__pages :last-child {
    display: none;
}

.pagination__info {
    margin-left: 24px;
  }

  .reviews__item {
      display: flex;
      flex-direction: column;
  }
  .reviews__text {
      margin-bottom: auto;
  }
  .reviews__info {
      margin-top: 38px;
  }
 .italic{
   font-style: italic;
 }



  @media (max-width: 600px) {
      #line .slider-form div {
          font-size: 13px;
      font-family: 'Gotham Pro', sans-serif;
      font-style: normal;
      font-weight: normal;
      }
      .contacts__col {
    text-align: left;
}
  }
  #line .services-detail .slider-form {

      margin-top: 0;
  }

.article__memo-file_mb {
    display: none;
}
.article__memo-file:hover {
    color: #E3151F;
}
a.reviews__original, a.reviews__original:hover {
    color: #E3151F ;
}
.article-content__wrap-link a, .article-content__wrap-link a:hover {
    color: #ffffff;
}

.contacts .contacts__subtitle {
    text-transform: none;
}

.reviews__wrap {
    align-items: stretch;
}


.why .text-center {
    margin-bottom: 30px;
}

.tabs-section .text-center {
    margin-bottom: 30px !important;
}

.review .text-center {
    margin-bottom: 30px;
}

#review .slick-prev {
    top: 25%;
    left: -21px;
}

#review .slick-next {
    top: 25%;
    right: -8px;
}

ul.nav-tabs {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: auto;
    /* position: relative; */
}

ul.nav-tabs .nav-item {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    /* width: 290px; */
    min-width: 236px;
    position: relative;
}

.nav-tabs .nav-item a {
    border-bottom: 2px solid #E8E8E8;
    color: #000000;
    font-weight: 300;
    font-size: 24px;
    text-align: center;
    margin-bottom: 5px;
}

#tabs-section .nav-tabs .nav-link.active {
    border-bottom: none;
    font-weight: bold;
    position: relative;
    z-index: 1;
}


#tabs-section .nav-tabs .nav-link.active:before {
    content: '';
    width: 100%;
    height: 5px;
    background-color: #e3171f;
    border-radius: 4px;
    position: absolute;
    bottom: -1px;
    z-index: 2;
    left: 0;
}

.nav-tabs .nav-link {
    border: none;
}

#body .carousel-item {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100%;
    min-height: 500px;
    position: relative;
}

#body .carousel-item img {
    width: 100% !important;
    position: absolute;
    bottom: 0;
    right: 0;
}

#body .carousel-caption {
    width: 50% !important;
}

#body .main_title {
    max-width: 500px;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 1.25;
}

#body .carousel-caption p {
    max-width: 500px;
}

#body .img-overlay {
    padding: 0;
}

#body  .img-overlay img {
    width: 100%;
    padding: 35px 0 35px 35px;
}

/* #body  .slider-form h2 {
    visibility: hidden;
} */

#body .slider-form {
    z-index: 32;
}


#line  .carousel-caption .with_red_line {
    border-left: 5px solid #ff0100;
    padding-left: 60px;
}

.payment__description {
    padding-left: 60px;
    font-size: 18px;
    line-height: 1.67;
}

.payment__description:before {
    border-left: 5px solid #FF0100;
}

.services-detail .inner p {
    border-left: 5px solid #ff0100 !important;
    padding-left: 60px !important;
    margin-bottom: 50px;
}
/* .minus{
    top: 45px !important;
    left: 10px !important;
  } */
  .minus{
    top: 45px !important;
    left: 10px !important;
    margin-left: 0 !important;
  }
  .plus{
    top: 45px !important;
    right: 120px !important;
    margin-left: 0 !important;
  }
  .question{
      position: relative;
  }
span.plus,
span.minus {
    width: 27px;
    height: 27px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 11px !important;
    background-color: transparent;
}

span.minus {
    background-image: url(../img/minus-btn.svg);
}

span.plus {
    background-image: url(../img/plus-btn.svg);
    margin-left: -45px !important;
}

.question input {
    color: #131313;
    font-weight: 500;
    padding: 10px 50px;
    border: 1px solid #EBEBEB;
    border-radius: 4px;
    display: block;
}
.img-overlay{
    border: none !important;
  }


.button--forward {
    border-radius: 80px;
}

#body .question label {
    margin-bottom: 20px;
}

.sec-red-line .text-center {
    text-transform: inherit;
}

ul.list-items {
    list-style-image: url(../img/advantage.svg);
}

.read-more__item a:hover {
    color: #FF0100;
    border-bottom: 1px solid #FF0100;
}


/* вопросы */
.questiones__item[open] .questiones__text-wrap {
    animation: moving 0.7s;
}

.nav-tabs .nav-item {
    padding-left: 0px;
}

@keyframes moving {
    0% {
        transform: translateY(-15%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

/* вопросы */

.nav-item {
    padding-left: 30px;
}

/* стр контакты */
#main-questiones {
    padding-top: 0;
}

.pattern {
    padding-top: 0;
}

.questiones a{
    color: inherit;
}
#main-contact a, #main-contact a:hover {
    color:  #000000;
}
/* стр контакты */


.review-video div img {
    height: 240px;
    object-fit: cover;
    cursor: pointer;
}
.review-video div iframe {
    margin-bottom: -8px;
}
.questiones__bnt-requisition {
    color: #FFFFFF !important;
}

@media (max-width: 1020px) {
    #body .slider-form h2 {
        visibility: visible;
        margin-bottom: 30px;
    }
}

@media (max-width: 950px) {
    #body .sec-red-line {
        padding: 20px;
    }

    #body .slider-form form {
        padding: 0px 20px 39px 20px !important;
    }

    #body .review .text {
        padding: 40px 20px;

    }

    #body .more_reviews {
        margin-left: 0;
    }
}

@media (max-width: 850px) {
    #body ul.list-items li {
        width: 100%;
        margin: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .review_items {
        max-width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    #line .carousel-item img {
        display: block !important;
        bottom: -80px;
        width: 200%;
    }

    #body .carousel-caption {
        width: 100% !important;
    }

    #body .carousel-item img {
        width: 200% !important;
    }

    #body .carousel-item {
        padding-bottom: 80%;
    }

    #body .left-block .button {
        width: 90% !important;
        max-width: 355px !important;
        margin: 40px auto !important;
    }

    .nav-tabs .nav-item a {
        font-size: 20px;
    }
}

@media (max-width: 588px) {
    #body .review .row>.col-md-6:last-child {
        display: none;
    }

    .review {
        background-image: none;
        background-color: #F6F6F7;
        padding-top: 40px;
        padding-bottom: 10px;
    }

    .section_body {
        background-color: #F6F6F7;

    }

    #review .slick-prev:before,
    #review .slick-next:before {
        content: "";
        background-repeat: no-repeat;
        width: 20px !important;
        height: 12px !important;
        position: absolute;
        top: 0;
        z-index: 20;
    }

    #review .slick-prev:before {
        transform: rotate(0deg) !important;
        background-image: url(../img/prev.svg) !important;
        background-position: center left 20%;
        padding: 20px 115px 20px 0px;
        left: 0;
    }

    #review .slick-next:before {
        background-image: url(../img/next.svg) !important;
        background-position: center right 20%;
        padding: 20px 0px 20px 115px;
        right: 0;
    }

    #review .slick-prev {
        top: 92% !important;
        left: 0%;
        z-index: 30;

    }

    #review .slick-next {
        top: 92% !important;
        right: 0%;
        z-index: 30;

    }


    #review .section_body .row .col-md-6 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    #review .section_body {
        padding: 0;
    }

    #review .slick-slide {
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 600px) {
    .nav-tabs .nav-item a {
        padding: 15px 0 !important;
    }

    .nav-link {
        padding: 0 !important;
    }

    .nav-tabs .nav-item a {
        font-size: 14px;
    }

    ul.nav-tabs .nav-item {
        min-width: 127px;
    }

    #body ul.list-items p {
        font-size: 12px;
    }

    #body .tab-content {
        padding: 0 0 0 30px;
    }

    #body .row .review_items {
        margin-right: 20px;
        margin-left: 6px;
    }

    #body .review_items p {
        font-size: 14px;
    }

    #body .review_items p span {
        font-size: 16px;
    }

    #body .q1 {
        margin-bottom: 30px;
    }

    #body .q3,
    .q4,
    .q5 {
        margin-bottom: 20px;
    }

    #body ul.list-items li {
        font-size: 13px;
        padding-left: 13px;
    }
}

@media (max-width: 500px) {
    #body .main_title {
        max-width: 290px;
        font-size: 17px;
        margin-bottom: 30px;
    }

    #body .carousel-caption .with_red_line {
        font-size: 14px;
    }

    #line .carousel-item img {
        bottom: -50px;
        right: -8px;
    }

    #body .carousel-item {
        padding-bottom: 70%;
    }

    #body .slider-form h2 {
        font-size: 15px;
    }

    #body .slider-form form {
        padding: 0 !important;
    }

    /* #body .left-block input {
        width: 100%;
    } */

    #body .question input {
        width: 100%;
    }

    .step-2 .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    #body .left-block .button {
        margin-top: 0 !important;
        /* min-width: 100% !important; */
        min-width: 80% !important;
        min-width: none !important;
    }

    #body .left-block .button {
        width: 80% !important;
    }

    #body .cases p {
        font-size: 14px;
    }

    .left-block {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 375px) {
    #body .why ul .offset-1 {
        margin-left: 0;
    }

    #body .why ul li {
        min-width: 100%;
        font-weight: normal;
        font-size: 13px;
    }
}

/* Отзывы */
@media (max-width: 425px) {
    #body .question label {
        font-size: 13px;
        text-align: left;
        margin-bottom: 10px;
    }

    #body .reviews:first-child,
    .services:first-child,
    .results:first-child,
    .advice:first-child,
    .contacts:first-child {
        padding-top: 0;
    }

    #body .article-content h2 {
        font-size: 14px;
        text-transform: uppercase;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    #body .article-content a.button--fullred {
        font-size: 12px;
        border-radius: 80px;
    }

    .button--fullred {
        border-radius: 80px;

    }

    /*вертикальная красная линия */
    #line .carousel-caption .with_red_line {
        border-left: 3px solid #ff0100;
        padding-left: 20px;
    }

    /*горизонтальная красная линия */
    .sec-red-line {
        border-top: 2px solid #e3171f;
        box-shadow: 0px 10px 80px rgba(0, 0, 0, 0.06);
    }

    #body .results .results__description {
        font-size: 14px;
        padding-left: 20px;
    }

    #body .results .results__description:before {
        border-left: 3px solid #FF0100;
        height: 110%;
    }

    #body .results .results__title {
        padding: 26px 0;
        font-size: 17px;
        line-height: 1.36;
    }

    .advice__description:before {
        border-left: 3px solid #FF0100;
    }

    .payment__description {
        padding-left: 20px;
        font-size: 14px;
        line-height: 1.71;

    }

    .payment__description:before {
        border-left: 3px solid #FF0100;
    }

    .services-detail .inner p {
        border-left: 3px solid #ff0100 !important;
        padding-left: 20px !important;
    }

    .emphasize-text:before {
        border-left: 3px solid #FF0100 !important;
    }

    span.plus,
    span.minus {
        width: 22px;
        height: 22px;
        margin-top: 14px !important;
    }

    span.minus {
        margin-left: 15px !important;
    }

    span.plus {
        margin-left: -36px !important;
    }

    .question input {
        padding: 10px 40px;
    }

    #body .slider-form {
        padding-left: 0;
        padding-right: 0;
    }
}

/* О нас */
#body .calc-pane {
    padding: 60px 0;
}

#body .calc-pane .row {
    flex-wrap: nowrap;
}

#body .pane {
    padding: 60px 40px 60px 70px;
}

#body .pane:before {
    height: 80%;
    width: 5px;
    left: 20px;
    top: 10%;
}

#body .pane p:first-child {
    margin-bottom: 25px;
}

#body .about {
    padding-bottom: 0 !important;
}


@media (max-width: 1100px) {
    #body .aboutvideos .justify-content-center {
        display: flex;
    }

    #body .aboutvideos .row {
        justify-content: center;
    }

    #body .aboutvideos .col-md-6 {
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    #body .about .carousel-item {
        padding-bottom: 70%;
    }

    #body .about .carousel-item img {
        bottom: -1px;
    }

    form .question {
        text-align: center;
    }
}

@media (max-width: 768px) {
    #body .bg-gray {
        background-image: none;
        background-color: #ffffff;
    }

    #body .why {
        background-color: #F6F6F7;
    }

    #body .calc-pane .row {
        flex-wrap: wrap;
    }

    #body .calc-pane img {
        position: relative;
        clip-path: polygon(0 25%, 100% 0, 100% 100%, 0% 100%);
        z-index: 2;
    }

    #body .calc-pane .col-lg-5:after {
        content: '';
        position: absolute;
        top: -2%;
        left: 15px;
        z-index: 1;
        display: block;
        width: 0;
        height: 0;
        border-top: 24vw solid transparent;
        border-right: 82vw solid #E3151F;
    }

    /* страница контакты */

    #main-contact .contacts__row {
        padding: 11px 0px 16px 0px;
        align-items: flex-start;
    }

    #main-contact .contacts__col {
        min-height: 1px;
    }

    #main-contact .contacts__col:first-child {
        margin-bottom: 10px;
    }

    #main-contact .contacts__col:not(:last-child) {
        border-bottom: none !important;
    }

    #main-contact .contacts__subtitle {
        margin-top: 0px;
    }

    #main-contact .contacts {
        padding-bottom: 45px;
        padding-top: 20px;
    }

    #main-questiones .questiones {
        padding-top: 0;
        padding-bottom: 60px;
    }

    #main-contact .contacts__title {
        padding: 38px 0;
        text-align: start;
    }

    .pattern {
        padding-bottom: 120px;
        padding-top: 0;
    }

    .pattern__title {
        padding-top: 0;
        padding-bottom: 60px;
        text-align: start;
        font-size: 40px;
    }

    #main-questiones .questiones__title {
        padding-top: 0;
        padding-bottom: 45px;
        text-align: start;
        font-size: 40px;
    }

    #main-contact .contacts__address {
        text-align: left;
    }

    /* страница контакты */

    #body .case__item {
        padding: 16px 0px;
    }
}

@media (max-width: 600px) {
    #body .calc-pane {
        padding: 20px 0;
    }

    #body .pane {
        padding: 30px 20px !important;
        font-size: 14px;
    }

    #body .pane:before {
        height: 94%;
        top: 3%;
        left: 0;
    }

    #body .aboutvideos {
        padding-top: 20px;
    }

    #body .aboutvideos p {
        font-size: 14px;
    }

    #body .why {
        padding-top: 20px;
    }
}

@media (max-width: 425px) {
    #body .about #form-block-1 {
        display: block !important;
    }
    #body #form-block-1 {
        display: block !important;
    }

    #body .about .carousel-item {
        min-height: 420px;
    }

    /* стр Вопросы */
    .questiones {
        padding-top: 0;
    }

    /* стр Вопросы */

    .questiones__title {
        padding: 30px 0;
        font-size: 22px;
    }

    /* стр контакты */
    .contacts__footnote {
        display: none;
    }
    #main-contact {
        padding-top: 0;
    }
    #main-contact .contacts__title {
        font-size: 22px;
    }

    #main-contact .contacts__col {
        font-size: 14px !important;
        line-height: 1.71;
    }

    #main-questiones .questiones__title {
        font-size: 22px;
        line-height: 1.36;
    }

    #main-contact .contacts__group {
        margin-bottom: 0;
    }

    .pattern__title {
        font-size: 22px;
        line-height: 1.36;
    }

    #main-contact .contacts__subtitle {
        width: 250px;
        margin: 0 auto;
    }

    /* стр контакты */

    /* стр советы */
    .advice__title {
        padding: 26px 0;
    }
    .advice {
        padding-bottom: 0;
    }
    .article {
        padding-top: 0px;
    }
    .article__title {
        padding: 26px 0;
    }
    .article-content__banner {
        margin-bottom: 0;
        width: calc(100% + 30px);
        margin-left: -15px;
    }
    .article-content__wrap {
        /* padding-bottom: 0; */
    }
    .article-content__banner-content {
        padding-bottom: 15px;
        /* margin-bottom: -60px; */
    }
    /* стр советы */
    /* форма стоимости */
    .form__text {
        font-size: 22px;
    }
    .form__info {
        font-size: 14px;
    }
    .form__input-btn {
        font-size: 12px;
    }
    .form__check-text {
        font-size: 12px;
    }
    /* форма стоимости */
}

/* внутренняя страница Услуг */
.services-detail h1.with_red_line {
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 25px !important;
}

.services-detail .inner p {
    border-left: 5px solid #ff0100;
    padding-left: 25px;
}

#line .container .slider-form form {
    margin-top: -71px !important;
}

@media (max-width: 1200px) {
    .services-detail #inna {
        padding-right: 0px;
        width: 100%;
    }
}


@media (max-width: 767px) {
    .services-detail h1.with_red_line {
        text-align: left !important;
        width: 70% !important;
        margin: 50px 0 !important;
    }

    .services-detail .inner p {
        min-width: 100%;
        text-align: left;
    }

    #line .container .slider-form form {
        margin-top: 0px !important;
    }
}

@media (max-width: 500px) {
    .services-detail h1.with_red_line {
        font-size: 17px !important;
        line-height: 1.65;
        text-transform: uppercase;
        width: 100% !important;
        margin: 0 !important;
        margin-bottom: 30px !important;
    }

    .services-detail .inner p {
        font-size: 14px !important;
        line-height: 1.71;
    }

}

/* внутренняя страница Услуг */
/* маркеры */
.item-marker,
.item-number {
    padding-left: 27px;
    position: relative;
    margin: 7px 0;
}

.item-marker:before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 2px;
    background-color: #E3151F;
    position: absolute;
    left: 0;
    top: 12px;
}

.item-number:before {
    content: counter(num) ". ";
    counter-increment: num;
    color: #E3151F;
    position: absolute;
    left: 0px;
    top: 7px;
    font-family: 'Gotham Pro Bold', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 0.86;
}

.accent {
    border-top: 2px solid #E3151F;
    padding: 20px 0px;
    padding-left: 90px;
    background: #FFFFFF;
    -webkit-box-shadow: 0px 10px 50px rgb(0 0 0 / 3%);
    box-shadow: 0px 10px 50px rgb(0 0 0 / 3%);
    margin: 50px 0;
}

.accent-text {
    font-size: 15px;
    line-height: 1.73;
    color: #000000;
    position: relative;
    padding-right: 15px;
}

.accent-text:before {
    content: '';
    display: inline-block;
    width: 59px;
    height: 59px;
    background-image: url(../img/accent.svg);
    position: absolute;
    left: -84px;
    top: 50%;
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

.emphasize {
    padding: 50px 0;
}

.emphasize-text {
    font-size: 16px;
    line-height: 1.87;
    color: #000000;
    position: relative;
    padding-left: 30px;
}

.emphasize-text:before {
    content: '';
    border-left: 5px solid #FF0100;
    height: 120%;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

@media (max-width: 425px) {
    .accent {
        margin: 30px 0;
        padding-left: 70px;
    }

    .accent-text:before {
        left: -70px;
    }

    .emphasize {
        padding: 30px 0;
    }

    .emphasize-text {
        padding-left: 20px;
    }

    .emphasize-text:before {
        height: 105%;
    }
}

/* маркеры */

.menu__item:hover {
    color: #FF0100;
}

/* Услуги */
section.price .col-sm-4 {
    flex: 0 0 49.333333%;
    max-width: 49.333333%;
}

@media (max-width: 768px) {
    .reviews__description:before {
        height: 110%;
    }

    section.price .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .price .card {
        min-height: auto;
    }
    .questiones__form .questiones__input-btn {
        margin-top: 30px;
    }
    .article__memo-file {
        display: none;
    }
    .article__memo-file_mb {
        display: block;
    }
}

@media (max-width: 500px) {
    section.price {
        padding-top: 0;
    }

    .price .card .card-body li {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .price .card .card-body {
        padding: 30px;
    }
}

/* Услуги */



@media (max-width: 768px) {

    .visible {
        display: block;
        position: absolute;
        bottom: 55px;
        left: 0;
    }

    .menu__box {
        height: calc(100vh - 60px);
        border-bottom: 3px solid #272625;
        /* margin-bottom: -60px; */
    }

    .menu-item a {
        padding-left: 30px !important;
    }

    .menu__item:hover {
        background-color: transparent;
    }

    .nav-item:hover {
        background-color: rgba(0, 0, 0, 0.02);
    }
    .menu__box li[itemprop="name"] {
        position: relative;
        z-index: 32;
    }

}

h1 {
    font-size: 40px;
    line-height: 1.25;
    text-transform: uppercase;
}

/* @media (max-width: 768px) {
    h1 {
        font-size: 32px;
        line-height: 1.45;
    }
} */
@media (max-width: 425px) {
    h1 {
        font-size: 17px;
        line-height: 1.65;
    }

    h2 {
        font-size: 14px;
        line-height: 1.5;
    }
    /* футер */
    .footer {
        padding-top: 55px;
        padding-bottom: 0;
    }
    /* футер */
}
.pattern__download:before{
    background-image: url(../img/word.png) !important;
    background-size: contain;
  }

