@media (min-width: 385px) {
    .heading-element h1
    {
        border-radius: 10px 0 10px 0;
    }
}
@media (min-width: 768px) {
    .property-block .nav-pills li:nth-of-type(2)
    {
        margin: 0 10px;
    }
    .reviews-bottom
    {
        font-size: 16px;
        line-height: 16px;
    }
}
@media (min-width: 992px) {
    .heading-element
    {
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        border-radius: 20px;
    }
    .heading-element h1
    {
        width: fit-content;
        padding: .5em 1em .5em 0;
        margin-left: -1px;
    }
    .heading-element h1 img
    {
        width: 645px;
    }
    .heading-element .text-block
    {
        width: 770px;
        font-size: 50px;
        text-align: right;
        justify-self: end;
        align-self: end;
    }
    .heading-element .text-block > span:nth-of-type(1)
    {
        padding: 0 15px 10px 20px;
        border-radius: 10px 0 0 0;
        top: 0;
    }
    .heading-element .text-block > span:nth-of-type(2)
    {
        padding: 0 15px 10px 40px;
        border-radius: 10px 0 0 10px;
        top: 0;
    }
    .heading-element .text-block > span:nth-of-type(3)
    {
        padding: 0 15px 10px 15px;
        border-radius: 0 0 20px 10px;
        top: 0;
    }
    .heading-element .text-block > span:nth-of-type(1):after {
        width: 28px;
        height: 28px;
        position: absolute;
        right: -1px;
        top: -29px;
        transform: rotate(-180deg);
    }
    .heading-element h1:before {
        display: block;
        content: '';
        width: 12px;
        height: 12px;
        float: right;
        background: url(/img/content/heading_fix.png) no-repeat center center / contain;
        position: absolute;
        left: -1px;
        bottom: -13px;
    }
    .heading-element .text-block > span:nth-of-type(1):before
    {
        display: block;
        content: '';
        width: 28px;
        height: 28px;
        background: url('/img/content/heading_fix.png') no-repeat center center / contain;
        position: absolute;
        left: -29px;
        bottom: -1px;
        transform: rotate(-180deg);
    }
    .heading-element .text-block > span:nth-of-type(3):before {
        display: block;
        content: '';
        width: 32px;
        height: 32px;
        background: url(/img/content/heading_fix.png) no-repeat center center / contain;
        position: absolute;
        left: -32px;
        bottom: 54px;
        transform: rotate(90deg);
    }
    .heading-element .text-block > span:nth-of-type(3):after {
        display: none;
    }
    .property-block .nav-pills li button,
    .catalogs-block .item p
    {
        font-size: 30px;
    }
    .property-block .nav-pills li:nth-of-type(2) {
        margin: 0 25px;
    }
    .catalogs-block .item p
    {
        margin: 30px 0;
        line-height: 30px;
    }
    .partners-info .info-side
    {
        padding: 60px;
    }
    .partners-info .info-side
    {
        border-radius: 20px 0 0 20px;
    }
    .partners-info .img-side
    {
        height: 100%;
        border-radius: 0 20px 20px 0;
    }
    .partners-info > div:last-of-type
    {
        border-radius: 0 20px 20px 0;
    }
    .partners-info .info-side h3
    {
        font-size: 3em;
    }
    .rewiews-block .rewiew > div:first-of-type
    {
        padding: 0;
        align-items: center;
    }
    .rewiews-block .rewiew .rewiwer-img
    {
        width: 81px;
        height: 81px;
        margin-right: 25px;
    }
    .rewiews-block .rewiew img
    {
        max-width: 150px;
    }
    .rewiews-block .rewiew h4
    {
        font-size: 21px;
        margin-bottom: .35em;
    }
    .rewiews-block .rewiew p
    {
        font-size: 18px;
    }
    .rewiews-block .rewiew .link
    {
        justify-self: start;
    }
    .reviews-bottom
    {
        margin-top: 1em;
        font-size: 24px;
        line-height: 24px;
    }
}
@media (min-width: 1200px) {
    .heading-element .img-bg {
        width: 100%;
        max-width: 1560px;
    }

    #pills-property {
        margin-top: 4em;
    }

    .property a > span,
    .catalogs-block .item a {
        font-size: 24px;
        line-height: 24px;
    }

    .property a > span:after,
    .catalogs-block .item a:after {
        content: url("/img/content/arrow.png");
    }

    ul.list li
    {
        font-size: 30px;
    }
    ul.list li:before
    {
        width: 30px;
        height: 30px;
    }
    .partners-info .info-side ul li {
        font-size: 30px;
    }

    .partners-info .info-side ul li:before {
        content: url("/img/content/list_b.png");
        top: 8px;
    }

    .rewiews-block .rewiew .rewiwer-img
    {
        min-width: 112px;
        width: 112px;
        height: 112px;
        margin-right: 0;
    }

    .rewiews-block .rewiew .rewiwer-img + div
    {
        padding-left: 25px;
    }

    .rewiews-block .rewiew h4
    {
        font-size: 24px;
        margin-bottom: .35em;
    }

    .rewiews-block .rewiew p
    {
        font-size: 18px;
    }
    .reviews-bottom
    {
        font-size: 30px;
        line-height: 30px;
    }
    .achievements-block fieldset h5
    {
        font-size: 40px;
        line-height: 40px;
    }
    .achievements-block fieldset div
    {
        font-size: 24px;
        line-height: 24px;
    }
}
@media (min-width: 1400px) {
    .rewiews-block .rewiew > div:last-of-type
    {
        display: block;
        padding-left: 32%;
    }
    .rewiews-block .rewiew h4
    {
        font-size: 30px;
    }
    .rewiews-block .rewiew img {
        max-width: 227px;
    }
}



@media (max-width: 767px) {
    .catalogs-block .container-md
    {
        padding: 0;
        overflow: hidden;
    }
    .owl-carousel
    {
        overflow: visible;
    }
    .owl-carousel .owl-stage-outer
    {
        margin-left: 15px;
        margin-right: 15px;
        overflow: visible !important;
        position: relative;
    }
    .owl-carousel .owl-item
    {
        opacity: 1;
    }
    .owl-carousel .owl-item:not(.active)
    {
        min-height: 285px;
        transform: scale(0.9);
        overflow: hidden;
        max-width: inherit !important;
    }
    .owl-carousel .owl-item.active
    {
        max-width: 30%;
    }
    .owl-item.active .item
    {
        background: rgba(255,255,255,1);
    }
}