/*123123123*/

.titleContainer {
    border-bottom: 4px solid #ebf0f7;
    padding-bottom: 20px;
}

/**/
.reviews-company {
    padding-top: 46px;
}

.reviews-product__sort {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 24px;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
}

.reviews-product__sort .btnFillType2 {
    width: 192px;
    display: none;
}

.reviews-product-sort__outer {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.reviews-product-sort__wrap {
    flex-wrap: wrap;
    display: flex;
    align-items: baseline;
}

.reviews-product-sort__title {
    font-weight: 700;
    line-height: 120%;
    margin-right: 14px;
}

.reviews-product-sort__item {
    margin-right: 14px;
    padding-right: 26px;
    position: relative;
    cursor: pointer;
    color: inherit;
}

.reviews-product-sort__item:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    background-image: url("/upload/reviews-sort.svg");
}

.reviews-product-sort__item.is-up:before {
    background-image: url("/upload/reviews-sort-up.svg");
}

.reviews-product-sort__item.is-down:before {
    background-image: url("/upload/reviews-sort-up.svg");
    transform: rotate(180deg);
}

/**/
.bq-form-popup__dialog,
.bq-form-popup__content {
    border-radius: 10px;
}

.bq-form-checkbox-wrap {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}

.bq-form-checkbox-wrap .bq-form-radio {
    margin-bottom: 0;
}

.bq-form-checkbox-wrap .bq-form-radio__label {
    width: 44px;
    height: 36px;
    cursor: pointer;
    padding-right: 8px;
}

.bq-form-checkbox-wrap .bq-form-radio__label:before,
.bq-form-checkbox-wrap .bq-form-radio__label:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 8px);
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity 0.2s ease;
}

.bq-form-checkbox-wrap .bq-form-radio__label:before {
    background-image: url("/local/templates/mst/css/images/star.svg");
}

.bq-form-checkbox-wrap .bq-form-radio__label:after {
    background-image: url("/local/templates/mst/css/images/star-full.svg");
    opacity: 0;
}

.bq-form-checkbox-wrap label:hover:before,
.bq-form-checkbox-wrap label:hover ~ label:before,
.bq-form-checkbox-wrap input:checked ~ label:before {
    opacity: 0;
}

.bq-form-checkbox-wrap label:hover:after,
.bq-form-checkbox-wrap label:hover ~ label:after,
.bq-form-checkbox-wrap input:checked ~ label:after {
    opacity: 1;
}

.bq-form--reviews-company .bq-form-input,
.bq-form--reviews-company .bq-form-textarea {
    border-color: #ABABAB;
    border-radius: 8px;
    padding: 15px 16px;
}

.bq-form--reviews-company .bq-form-inner {
    width: 100%;
}

.bq-form--reviews-company .bq-form-inner,
.bq-form--reviews-company .bq-form-inner__item {
    margin: 0;
    width: 100%;
}

.bq-form--reviews-company .bq-form-inner__item {
    margin-bottom: 20px;
}

.bq-form--reviews-company .bq-form-file__text {
    border-style: dotted;
    border-radius: 8px;
    opacity: .5;
    transition: .2s ease;
    justify-content: flex-start;
    padding: 12px 16px;
}

.bq-form--reviews-company .bq-form-label {
    font-weight: bold;
}

.bq-form--reviews-company .bq-form-submit {
    border: none;
}

.bq-form--reviews-company .bq-form-checkbox__input:checked ~ .bq-form-checkbox__text::before {
    background-color: #026EF9;
    border-color: #026EF9;
}

.bq-form--reviews-company .bq-form-checkbox__text {
    font-size: 14px;
}

.bq-form--reviews-company .bq-form-file__text-span span {

    font-size: 10px;
}

.bq-form--reviews-company .bq-form-file__text:hover {
    opacity: 1;
}

/**/
.reviews-company__wrap {
    display: flex;
    flex-wrap: wrap;
}

.reviews-company__aside {
    width: 528px;
    padding-left: 22px;
}

.reviews-company__main {
    width: calc(100% - 528px);
}

.reviews-company__form {
    box-shadow: 0px 0px 20px 0px #0000001A;
    background-color: #fff;
    padding: 32px 65px;
    border-radius: 6px;
}
/*
.reviews-company__form {
    position: sticky;
    top: 200px;
    transition: top 0.2s ease;
}

.scrollDown ~ main .reviews-company__form {
    top: 140px;
}*/

.reviews-company__item {
    padding: 24px;
    border-radius: 6px;
    box-shadow: 0px 0px 20px 0px #0000001A;
    margin-bottom: 24px;
}

.reviews-company__item:last-child {
    margin-bottom: 0;
}

.reviews-company-item__top {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.reviews-company-item__logo {
    width: 80px;
    height: 80px;
    border: 1px solid #EBF0F7;
    border-radius: 50%;
    overflow: hidden;
}

.reviews-company-item__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews-company-item__info {
    padding-left: 16px;
    width: cacl(100% -80px);
}

.reviews-company-item__name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}

.reviews-company-item__post {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.reviews-company-item__date {
    font-size: 14px;
    opacity: .5;
}

.reviews-company-item__rating {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.reviews-company-item__rating > span {
    margin-right: 6px;
    font-size: 16px;
    font-weight: 700;
}

.reviews-company-item__rating .er-rating-stars {
    margin-bottom: 0;
}

.reviews-company-item__text {
    margin-top: 12px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.reviews-company-item__file {
    margin-top: 24px;
}

.reviews-company-item__file .simpleLink {
    font-size: 16px;
}

.reviews-company-item__photo {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.reviews-company-item__photo a {
    width: 200px;
    height: 200px;
    position: relative;
}

.reviews-company-item__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}



@media (max-width: 1420px) {
    .reviews-company__aside {
        width: 100%;
        padding-left: 0;
    }

    .reviews-company__main {
        width: 100%;
    }


    .reviews-company-item__logo {
        width: 60px;
        height: 60px;
    }

    .reviews-company-item__info {
        padding-left: 12px;
        width: calc(100% - 60px);
    }

    .reviews-company-item__name {
        font-size: 18px;
    }

    .reviews-company-item__post {
        font-size: 14px;
    }

    .reviews-product-sort__outer {
        width: calc(100% - 200px);
    }

    .reviews-product__sort .btnFillType2 {
        display: block;
    }

    .reviews-company__aside {
        display: none;
    }

    .reviews-company {
        padding-top: 18px;
    }

    .reviews-product-sort__wrap {
        margin-top: 8px;
    }
    .reviews-company-item__photo a{
        position: relative;
        width: calc(20% - 6px);
        height: auto;
    }
    .reviews-company-item__photo a:before{
        content: '';
        display: block;
        padding-top: 100%;
    }
    .reviews-company-item__photo img
    {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 991px) {
    .reviews-company-item__photo a{
        width: calc(25% - 6px);
    }

}

@media (max-width: 767px) {
    .reviews-company-item__photo a{
        width: calc(33.3333% - 6px);
    }

}