body {
    margin: 0;
}

#bx_incl_area_4_2 {
    flex-direction: column;

}

.bx-context-toolbar-empty-area {
    display: flex;
}

body .page-menu__list {
    width: auto;
}

body .container--reviews {
    display: flex;
}

#bx_incl_area_4_1 {
    flex-direction: column;
}

#bx_incl_area_3 {
    display: none;
}

.breadcrumbs li {
    width: fit-content;
}

body .breadcrumbs {
    display: none;
}

.header__title-link {
    text-decoration: underline;
}

.header__title-text {
    font-family: 'HelveticaNeueCyr', serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 50px;
    color: #323232;
    margin-bottom: 30px;
}

.header__title-text--reviews {
    margin-top: 50px;
}

.header__title-text-description {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #666666;
    margin-bottom: 40px;
}

.header__title-button,
.rewies__more,
.reviews__2gis__more,
.reviews__popup-bottomButton {
    cursor: pointer;
    padding: 23px;
    background: #273895;
    font-weight: 300;
    font-size: 18px;
    line-height: 23px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 50px;
    border: 1px solid #273895;
    text-align: center;
    transition-property: background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
}

.header__title-button {
    width: 230px;
}

.reviews__popup-bottomButton {
    width: 40%;
    margin-bottom: 0;
}

.header__title-button:hover {
    background-color: #283EBA;
}

.reviews__popup-bottomButton:hover {
    color: #273895;
    background: #ffffff;
}

.news-list {
    width: 965px;
}

.reviews__container {
    background: #F8F7F9;
    box-shadow: 0px 2px 8px rgb(0 0 0 / 15%);
    border-radius: 2px;
    max-width: 965px;
    padding: 25px 30px 28px 30px;
}

.reviews__container:nth-child(1n+1) {
    margin-top: 20px;
}

.reviews__container-top {
    display: flex;
    height: 67px;
    border-bottom: 1px solid #DFDFDF;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 0;
}

.reviews__container-topText {
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
    color: #343434;     
}

.reviews__container-topTime {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #BDBDBD;
    margin-left: 30px;
    margin-right: auto;
    position: unset;
}

.reviews__container-topRight {
    display: flex;
    width: fit-content;
}

.reviews__container-Text {
    margin-top: 20px;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #343434; 
    padding-bottom: 20px;
}

.revies__question-container {
    margin-left: 30px;
}

.revies__question {
    display: flex;
    border-top: 1px solid #dfdfdf;
    padding-top: 20px;
}

.revies__question-logo {
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
    color: #2800D2;
}

.revies__question-time {
    margin-left: 30px;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #BDBDBD;
    margin-right: auto;
    position: unset;
}

    /* Звёзды */

.reviews__container-stars {
    display: flex;
}

.reviews__container-starPopup {
    cursor: pointer;
}

.reviews__container-star:active .star {
    fill: #2800D2;
}

/* Попап отзывов */

.reviews__container-starsPopup {
    display: flex;
}

.reviews__container-starPopup:active .star {
    fill: #2800D2;
}

.star__inContainerPopup.active path {
    fill: #2800D2;
}

.reviews-main {
    padding: 0;
    padding-bottom: 40px;
}

.bread {
    padding: 0 10px;
}

.reviews__popup-container {
    background-color:#000000;
    opacity: 0.6;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 11;
}

.reviews__popup {
    position: fixed;
    bottom: 250px;
    top: 250px;
    left: 50%;
    width: 668px;
    height: fit-content;
    background: #FFFFFF;
    padding: 41px 45px 47px;
    display: none;
    flex-direction: column;
    margin: auto;
    transform: translateX(-50%);
    z-index: 12;
}

.reviews__popup-title {
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: #343434;
}

.reviews__popup-top {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.reviews__popup-stars {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #8B8B8B;
    display: flex;
}

.reviews__container-starPopup {
    cursor: pointer;
}

.reviews__popup-inputName {
    display: flex;
    align-items: center;
    width: 300px;
    margin-right: 10px;
    box-sizing: border-box;
    border: 1px solid #C0C0C0;
    height: 60px;
    padding: 20px;
    font-size: 18px;
    line-height: 21px;
    color: #333333;
}

.reviews__popup-inputDescription {
    margin-top: 30px;
    height: 160px;
    border: 1px solid #C0C0C0;
    box-sizing: border-box;
    padding: 20px 0 125px 20px;
}

.reviews__popup-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.reviews__popup-bottomSecond {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 302px;
  }

.reviews__popup-bottomCheckActive {
    display: none;
}

.reviews__popup-bottomCheck {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 1px solid #343434;
    box-sizing: border-box;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviews__popup-bottomText {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    width: 257px;
    color: #8B8B8B;
}

.reviews__popup-close {
    position: absolute;
    top: 41px;
    right: 45px;
    cursor: pointer;
    border: none;
    line-height: 0;
}

.link__text-popup {
    color: #8B8B8B;
    text-decoration: underline;
}

.rewies__more, .reviews__2gis__more {
    width: 230px;
    margin: 68px auto;
}

.star__inContainer.active path{
    fill: #2800D2;
}

@media screen and (max-width:1300px) {
    .news-list {
        width: auto;
    }
}

@media screen and (max-width:1002px) {
    #bx_incl_area_4_1 {
        display: none;
    }

    .page-menu__list {
        display: none;
    }

    main{
        margin: auto;
    }
}

@media screen and (max-width:800px) {
    .reviews__popup {
        width: auto;
        bottom: 450px;
    }

    .reviews__popup-inputDescription {
        width: auto;
    }

    .reviews__popup-bottom {
        flex-direction: column;
    }
    .reviews__popup-bottomSecond {
        margin-top: 30px;
    }

    .reviews__popup-bottomButton {
        width: 100%;
    }
}

@media (max-width: 767px) {

    .header__title-text {
        font-weight: 600;
        font-size: 26px;
        line-height: 28px;
        margin-bottom: 30px;
    }

    .header__title-text-description {
        font-size: 16px;
        line-height: 20px;
    }

    .header__title-button {
        min-height: 48px;
        font-size: 14px;
        line-height: 18px;
    }

    .reviews__container-topText {
        font-size: 16px;
        line-height: 20px;
    }

    .revies__question-logo {
        font-size: 16px;
        line-height: 20px;
    }

    .reviews__container-Text {
        margin-top: 15px;
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 15px;
    }

    .reviews__popup-container {
        background-color: transparent;
    }

    .reviews__popup {
        width: 100%;
        max-width: 100vw;
        min-width: initial;
        max-height: initial;
        top: 64px;
        left: 0;
        bottom: 0;
        height: calc(100% - 64px);
        max-height: calc(100% - var(--headerHeigh));
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        background-color: #fff;
        border-radius: 0;
        padding: 15px 15px 25px;
    }

    .reviews__popup-close {
        right: 15px;
        top: 15px;
    }
}

@media screen and (max-width:550px) {
    .reviews__popup-stars{
        position: absolute;
        top:100px;
    }

    main{
        margin-top: 0;
    }
}

.page-menu__link {
    display: block;
    padding: 8px 36px 9px;
    color: #343434;
    font-size: 19px;
    line-height: 25px;
    -webkit-transition: opacity ease .3s;
    -o-transition: opacity ease .3s;
    transition: opacity ease .3s;
}

.page-menu__link--active,
.page-menu__link:focus,
.page-menu__link:hover {
    opacity: 0.5;
}

@media screen and (max-width:475px) {
    .header__title-text {
        font-weight: 600;
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 15px;
    }

    .header__title-button {
        width: 100%;
    }

    .reviews__popup-bottomButton {
        min-height: 48px;
        font-size: 14px;
        line-height: 18px;
    }

    .header__title-text-description {
        font-size: 14px;
        line-height: 18px;
    }

    .reviews__container{
        background-color: white;
        padding: 15px 20px;
        background: #F8F7F9;
    }
    
    .reviews__container-top {
        flex-direction: column;
        padding-bottom: 20px;
    }

    .reviews__container-topRight {
        flex-direction: column;
        width: 100%;
    }

    .reviews__container-topTime {
        margin: 0;
    }

    .reviews__container-topTime {
        margin-right: auto;
        margin-top: 0px;
        position: relative;
        top: 22px;
    }

    .reviews__container-stars {
        margin-left: auto;
    }

    .reviews__popup {
        width: 100%;
        padding: 15px 15px 25px;
    }

    .reviews__popup-bottomSecond {
        width: fit-content;
    }

    .reviews__popup-bottomButton { 
        padding-left: 0;
        padding-right: 0;
    }

    .reviews__popup-top {
        flex-direction: column;
    }

    .reviews__container-starsPopup {
        margin: 15px 0;
    }

    .reviews__popup-bottomText {
        margin-left: 20px;
      }

      .reviews__popup-stars {
        top: 70px;
    }

    .reviews__popup-title {
        font-size: 18px;
        line-height: 22px;
    }

    .reviews__popup-top {
        margin-top: 20px;
    }

    .reviews__popup-inputName {
        width: auto;
        height: 50px;
        margin-right: 0;
        padding: 10px;
        font-size: 16px;
        line-height: 19px;
    }

    .reviews__popup-inputDescription {
        width: auto;
        height: 140px;
        margin-top: 0;
        padding: 20px 0 125px 10px;
    }

    .reviews__popup-bottom {
        margin-top: 20px;
    }
    
    .reviews__popup-bottomSecond {
        margin-top: 15px;
    }
}
