/**
Блоки на странице О компании - Сегодня
 */

.about__today-text{
    color: #000;
    font-family: "Euclid Flex";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 60px;
}
.about__today--info-block{
    max-width: 1096px;
    margin: 0 auto;
}
.about__today-img img{
    width: 100%;
}
.about__today--we_are_in_numbers-block{
    max-width: 1159px;
    margin-left: 38px;

}
.numbers__item-text{
    color: #000;
    font-family: "Euclid Flex";
    font-size: 64px;
    font-style: italic;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.2px;
}
.numbers__item-caption{
    color: #000;
    font-family: "Euclid Flex";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.2px;
    margin-bottom:20px;
}
.numbers__item-border{
    height: 1px;
    background: rgba(0, 0, 0, 0.21);
}
.about__today-text-block{
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 24px;
    display: grid;
}
.about__today-text-block-r{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}

.clients__block-grid{
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 18px;
    display: grid;
    margin-bottom: 37px;
}
.ellipse__block_question{
    border-radius: 100%;
    background: #4D5FFE;
    width: 440px;
    height: 440px;
    color: #FFF;
    font-family: "Euclid Flex";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.2px;
    align-items: center;
    justify-content: center;
    display:flex;
    margin-top: 23px;
    margin-bottom: 23px;

}

.clients__block-grid-item{
    display: flex;
    flex-direction: column;
    position: relative;
}
.clients__block-grid-item.right{
    align-items: flex-end;
}
.clients__block-grid-item-caption{
    border-radius: 30px;
    border: 1px solid #000;
    width: 400px;
    color: #000;
    font-family: "Euclid Flex";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.2px;
    padding-left: 20px;
    display: flex;
    align-items: center;
    height: 96px;
    position: relative;
    padding-right: 0px;
    box-sizing: border-box;
    cursor: pointer;
}
.clients__block-grid-collum-left,
.clients__block-grid-collum-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 20px;
}
.clients__block-bottom{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}
.icon__circle{
    position: absolute;
    width: 50px;
    height: 50px;
    background: #4D5FFE;
    border-radius:50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon__circle img{
    display: block;
}
.icon__circle svg{
    display: none;
}
.clients__block-grid-item.active .icon__circle img{
    display: none;
}
.clients__block-grid-item.active .icon__circle svg{
    display: block;
}

.clients__block-grid-item-comment {
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease-in-out;
    border: 1px solid #000000;
    background: #D6DAFE;
    padding: 17px;
    margin-top: 15px;
    border-radius: 15px 0px 30px 15px;
    width: 400px;
    box-sizing: border-box;
}

.clients__block-grid-item.active .clients__block-grid-item-comment {
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.clients__block-grid-item-comment-img {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.clients__block-grid-item-comment-img img{
    width: 37px;
    height: auto;
}

.clients__block-grid-item-comment-text{
    color: #000;
    font-family: "Euclid Flex";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.rigth--bottom{
    right: -25px;
    bottom: -25px;
}
.rigth--center{
    right: -25px;
    top: 50%;
    margin-top: -25px;
}
.rigth--top{
    right: -25px;
    top: -5px;
}
.left--center{
    left: -25px;
    top: 50%;
    margin-top: -25px;
}
.left--top{
    left: -25px;
    top: -5px;
}
.left--bottom{
    left: -25px;
    bottom: -25px;
}
.center--top{
    top: -30px;
    left: 50%;
    margin-left:-25px;
}

.about__today--info-block,
.about__today--we_are_in_numbers-block,
.about__today-text-block,
.clients__block-bottom
{
    margin-bottom: 150px;
    /*padding: 0 60px;*/
}
.clients__block-grid{
    /*padding: 0 60px;*/
}
.clients__block-grid-collum-right .clients__block-grid-item-caption{
    padding-left: 40px
}

/**
Блоки на странице О компании - История
 */

.about__history-top-item-slider-items{
    position:relative;
}
.slider__item-text {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, left 0.5s ease-in-out;
}

.slider__item-text.active {
    left: 0;
    opacity: 1;
}

.about__history-top-item{}
.about__history-top-item-image{
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow:hidden;
    margin-bottom: 27px;
    cursor: pointer;
}
.about__history-top-item-image img{
    opacity: 0.32;
}

.about__history-top-item.active .about__history-top-item-image img{
    opacity: 1;
}

.about__history-top-item-circle{
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    cursor: pointer;
    position: relative;
}
.about__history-top-item-circle:before{
    display: block;
    content: ' ';
    position: absolute;
    width: 100%;
    border-bottom: 1px dashed #ABABAB;
}
.about__history-top-item-year{
    color: #BEBEBE;
    font-family: "Euclid Flex";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.2px;
    text-align: center;
    margin-bottom: 12px;
    cursor: pointer;
}
.about__history-top-item-slider{
    display: none;
    position: relative;
}
.slider__prev,
.slider__next{
    position: absolute;
    display: flex;
    width: 53px;
    height: 53px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}
.slider__prev{
    left: -74px;
    top: 17px;
}
.slider__next{
    right: -74px;
    top: 17px;
}
.about__history-top-item-slider-items{
    height: 150px;
    overflow: hidden;
}
.slider__item-text{
    color: #000;
    text-align: center;
    font-family: "Euclid Flex";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.2px;
}
.about__history-top-item-ellipce{
    background: #BEBEBE;
    border-radius:100%;
}
.about__history-top-item.one{}
.about__history-top-item[data-item="one"] .about__history-top-item-ellipce{
    width: 21px;
    height: 21px;
}
.about__history-top-item.two{}
.about__history-top-item[data-item="two"] .about__history-top-item-ellipce{
    width: 29px;
    height: 29px;
}
.about__history-top-item.three{}
.about__history-top-item[data-item="three"] .about__history-top-item-ellipce{
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}
.about__history-top-item[data-item="four"] .about__history-top-item-ellipce{
    width: 14px;
    height: 14px;
}
.about__history-top-item.four{}

.about__history-top-item.active .about__history-top-item-ellipce{
    background: #4D5FFE;
    opacity: 0.9;
}
.about__history-top-item.active .about__history-top-item-year{
    color: #000;
    font-family: "Euclid Flex";
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.about__history-top-item.active .about__history-top-item-slider{
    display: block;
}

.about__history-facts-block{
    background: #4D5FFE;
    margin-bottom: 150px;
    padding-top: 51px;
    padding-bottom: 51px;
}
.about__history-facts-block-grid{
    display: grid;
    grid-template-columns: 5fr 7fr;
}
.about__history-facts-block-title{
    color: #FFF;
    font-family: "Euclid Flex";
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.about__history-facts-block-items {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}
.about__history-facts-block-item-wrapper {
    width: 232px;
    display: flex;
    height: 232px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.facts__block-item-img {
    height: 96px;
    margin-bottom: 7px;
}
.facts__block-item-title {
    color: #000;
    font-family: "Euclid Flex";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.border__radius-top-left {
    border-radius: 97px 0px;
}
.border__radius-bottom-left {
    border-radius: 0px 97px;
}

.background__color-one{
    background: linear-gradient(48deg, #FFF 4.76%, #D6DAFE 95.1%);

}
.background__color-two{
    background: linear-gradient(45deg, #D6DAFE 7.24%, #A4B2FF 97.44%);
}
.background__color-three{
    background: linear-gradient(44deg, #A4B2FF 3.41%, #FFF 97.6%);
}


.about__history-reference-block-grid{
    display: grid;
    grid-template-columns: 7fr 5fr;
    margin-bottom: 370px;
}
.about__history-reference-block-grid,
.about__history-reference-block-grid-even{
    position: relative;
}


.about__history-reference-block-grid:before,
.about__history-reference-block-grid-even:before
{
    position: absolute;
    content: ' ';
    display: block;

}

.about__history-reference-block-grid:before {
    background-image: url("/img/about/history/background-line-1.png");
    width: 658px;
    height: 700px;
    left: 0;
    bottom: -700px;

}
.about__history-reference-block-grid-even:before
{
    background-image: url("/img/about/history/background-line-2.png");
    width: 468px;
    height: 524px;
    right: 0;
    bottom: -524px;
}

.about__history-reference-block-grid-even{
    display: grid;
    grid-template-columns: 4fr 6fr;
    margin-bottom: 381px;
}
.history__reference-img{
    display: flex;
    justify-content: flex-end;
}
.history__reference-text{
    position: relative;
}
.history__reference-text-wrapper{
    position: absolute;
    bottom: -152px;
    left: -58px;
    background: #ffffff;
    z-index:1;
    border-top-left-radius: 40px;
}
.history__reference-text-title{
    color: #3347FF;
    text-align: left;
    font-family: "Euclid Flex";
    font-size: 120px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-left: 20px;
    margin-bottom: 12px;
}
.history__reference-text-desc{
    color: #000;
    font-family: "Euclid Flex";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.2px;
    max-width: 517px;
    padding-left: 20px;
}
.about__history-reference-block-grid-even .history__reference-text-desc,
.about__history-reference-block-grid-even .history__reference-text-title {
    padding-left: 0px;
}
.about__history-reference-block-grid-even .history__reference-text-wrapper {
    border-top-right-radius: 40px;
    border-top-left-radius: unset;
    left: unset;
    right: -58px;
}
.about__history-reference-block-grid-even .history__reference-img{
    justify-content: flex-start;
}
.about__history-reference-block-grid:last-child{
    margin-bottom: 0px;
}

.about__history-reference-block-grid:last-child:before{
    background-image: unset;
}

.about__history-top-block {

}
.about__history-top-block{
    margin-bottom: 160px;
}
.about__history-reference-block{
    margin-bottom: 380px;
}
.about__history-facts-block{
    padding-left: 60px;
    padding-right: 60px;
}
.about__history-facts-block-title{
    padding-left: 20px;
}
.icon__circle{
    display: flex;
    align-items: center;
    justify-content: center;
}
.facts__block-item-title {
    text-align: center;
}

.clients__block--one-line-list{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.clients__block--one-line-title{
    color: #000;
    font-family: "Euclid Flex";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 40px;
    text-align: center;
}
.clients__block--one-line-item-title{
    border-radius: 15px;
    border: 1px solid #000;
    color: #000;
    font-family: "Euclid Flex";
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 15px 28px 15px 14px;
    display: flex;
    align-items: center;
    position: relative;
    max-width: 80%;
    width: 80%;
    cursor: pointer;
}
.clients__block--one-line-item-pic{
    position: absolute;
    bottom: -13px;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    background: #4D5FFE;
    justify-content: center;
    align-items: center;
    display: flex;
}
.clients__block--one-line-item-pic img{
    max-width: 20px;
    width: 20px;
    height: auto;

}

.clients__block--one-line-item:nth-child(odd) .clients__block--one-line-item-pic {
    right: -4px;
}

.clients__block--one-line-item:nth-child(even) .clients__block--one-line-item-pic {
    left: -17px;
}

.clients__block--one-line-item:nth-child(odd) .clients__block--one-line-item-title{

}

.clients__block--one-line-item:nth-child(even) .clients__block--one-line-item-title{
    float: right;
}

.clients__block--one-line{
    display: none;
    margin-bottom: 80px;
}
.clients__block--one-line-item-comment-text{
    color: #000;
    font-family: "Euclid Flex";
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.clients__block--one-line-item-comment {
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease-in-out;
    border: 1px solid #000000;
    background: #D6DAFE;
    padding: 17px;
    margin-top: 28px;
    border-radius: 15px 0px 30px 15px;
}

.clients__block--one-line-item.active .clients__block--one-line-item-comment {
    opacity: 1;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 16px;

}
.clients__block--one-line-item-comment-img {
    display: flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clients__block--one-line-item-comment-img img{
    width: 37px;
    height: auto;
}

.clients__block--one-line-item-pic img{
    display: block;
}
.clients__block--one-line-item-pic svg{
    display: none;
}

.clients__block--one-line-item.active .clients__block--one-line-item-pic img{
    display: none;
}
.clients__block--one-line-item.active .clients__block--one-line-item-pic svg{
    display: block;
}

@media (max-width: 1200px) {
    .clients__block-grid,
    .clients__block-bottom{
        display: none;
    }

    .clients__block--one-line{
        display: block;
    }

    .about__today-text-block-r .padding_60_0{
        padding-top: 0px;
        padding-bottom: 20px
    }
    .about__today-text-block-r .font__size-32{
        font-size: 26px;
    }

    .about__history-facts-block-grid{
        display: flex;
        flex-direction: column;
        row-gap: 16px;
    }
    .about__history-facts-block-title {
        padding-left: 0px;
    }

    .about__history-facts-block {
        padding-left: 0px;
        padding-right: 0px;
    }

    .history__reference-text-title {
        font-size: 85px;
    }

    .history__reference-text-desc {
        font-size: 18px;
    }

    .history__reference-img img{
        width: 100%;
        height: auto;
    }
}
@media (max-width: 920px) {
    .about__today-text-block-r .padding_60_0{
    }
    .about__today-text-block-r .font__size-32{
        font-size: 20px;
    }


    .block__about--history-years{
        display: inline-flex;
        flex-wrap: nowrap;
    }
    .block__about--history-years-scroll{
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .block__about--history-years-scroll::-webkit-scrollbar {
        display: none;
    }

    .history__reference-text-title {
        font-size: 70px;
    }

    .history__reference-text-desc {
        font-size: 17px;
    }
}
@media (max-width: 860px) {
    .about__history-facts-block {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .about__history-facts-block-item-wrapper {
        width: 200px;
        height: 200px;
    }

    .facts__block-item-img {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .facts__block-item-img img{
        max-height: 80px;
    }

    .facts__block-item-title {
        font-size: 20px;
    }
}
@media (max-width: 768px) {

    .clients__block--one-line-title {
        font-size: 38px;
    }

    .clients__block--one-line-item-title,
    .clients__block--one-line-item-comment-text{
        font-size: 20px;
    }

    /*.about__today--we_are_in_numbers-block .grid__gap_80{
        gap: 40px;
    }*/

    .about__today-text-block-r .font__size-32{
        font-size: 16px;
    }

    .about__today--we_are_in_numbers-block .grip__gap-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbers__item-text {
        font-size: 54px;
    }

    .numbers__item-caption {
        font-size: 17px;
    }

    .about__today--we_are_in_numbers-block .title__left{
        font-size:40px;
    }

    .about__today--info-block{
        margin-bottom: 80px;
    }

    .about__today-text {
        font-size: 27px;
        margin-bottom: 30px;
    }

    .about__history-facts-block-item-wrapper {
        width: 170px;
        height: 170px;

    }
    .facts__block-item-img {
        height: 60px;
    }
    .facts__block-item-img img{
        max-height: 60px;
    }
    .border__radius-top-left {
        border-radius: 50px 0px;
    }
    .border__radius-bottom-left {
        border-radius: 0px 50px;
    }

    .history__reference-text-title {
        font-size: 50px;
    }

    .history__reference-text-desc {
        font-size: 16px;
    }
}
@media (max-width: 640px) {
    .clients__block--one-line-title {
        font-size: 28px;
    }

    .clients__block--one-line-item-title,
    .clients__block--one-line-item-comment-text{
        font-size: 16px;
    }

    .about__today-text-block-r .font__size-32{
        font-size: 14px;
    }

    .about__today--we_are_in_numbers-block .title__left{
        font-size:30px;
        margin-bottom: 37px;
    }

    .about__today--we_are_in_numbers-block {
        margin-left: 0px;
    }

    .about__today-text {
        font-size: 20px;
    }

    .about__history-facts-block-item-wrapper {
        width: 130px;
        height: 130px;
    }
    .facts__block-item-img {
        height: 50px;
    }
    .facts__block-item-img img{
        max-height: 50px;
    }
    .border__radius-top-left {
        border-radius: 40px 0px;
    }
    .border__radius-bottom-left {
        border-radius: 0px 40px;
    }

    .about__history-facts-block-title {
        font-size: 28px;
    }

    .facts__block-item-title {
        font-size: 14px;
    }
    .about__history-facts-block{
        margin-bottom: 80px;
    }

    .about__history-reference-block .title{
        font-size: 30px;
        margin-bottom: 40px;
    }

    .about__history-reference-block-grid {
        display: block;
        margin-bottom: 92px;
    }

    .about__history-reference-block-grid-even {
        display: flex;
        margin-bottom: 145px;
        flex-direction: column;
    }
    .about__history-reference-block-grid-even .history__reference-text{
        order: 2;
    }

    .about__history-reference-block-grid-even .history__reference-text-wrapper {
        left: unset;
        right: unset;
    }

    .about__history-reference-block-grid-even .history__reference-text-desc,
    .about__history-reference-block-grid-even .history__reference-text-title {
        padding-left: 15px;
    }

    .history__reference-img {
        display: block;
    }

    .history__reference-text-wrapper {
        position: relative;
        bottom: unset;
        left: unset;
        margin-top: -30px;
        max-width: 60%;

    }
    .history__reference-text {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
    }
    .about__history-reference-block-grid-even .history__reference-text{
        justify-content: flex-start;
    }

    .about__history-reference-block-grid:before {
        background-image: url("/img/about/history/background-line-mob-one.png");
        width: 100px;
        height: 385px;
        left: 35px;
        bottom: -118px;
    }

    .about__history-reference-block-grid-even:before {
        background-image: url("/img/about/history/background-line-mob-two.png");
        width: 98px;
        height: 333px;
        right: 26px;
        bottom: -146px;
    }
    .history__reference-text-title{
        font-size: 48px;
        margin-bottom: 0px;
    }
    .history__reference-text-desc{
        font-size: 12px;
    }
    .about__history-reference-block{
        margin-bottom: 80px;
    }
    .about__today--we_are_in_numbers-block{
        margin-bottom: 80px;
    }


}
@media (max-width: 480px) {

    .block__about--history-years-scroll .about__history-top-item-slider{
        display: none !important;
    }
    .slider__list--history .about__history-top-item-slider.active  .about__history-top-item-slider{
        display: block;
    }

    .slider__list--history  .about__history-top-item-slider.active{
        display: block;
    }

    .clients__block--one-line-title {
        font-size: 24px;
    }

    .clients__block--one-line-item-title,
    .clients__block--one-line-item-comment-text{
        font-size: 12px;
    }

    .about__today-text-block {
        column-gap: 12px;
        grid-template-columns: 6.5fr 5.5fr;
    }
    .about__today-text-block .image__full_block {
        width: 100%;
        height: 100%;
    }



    .about__today--we_are_in_numbers-block .grid__gap_80{
        gap: 40px 23px;
    }
    .numbers__item-text {
        font-size: 40px;

    }
    .numbers__item-caption {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .about__today--we_are_in_numbers-block .title__left{
        font-size:24px;
    }

    .about__today-text {
        font-size: 16px;
    }
    .about__history-top-item .about__history-top-item-image img {
        width: 76px;
        height: auto;
    }
    .about__history-top-item.active .about__history-top-item-image img {
        width: 120px;
    }

    .about__history-top-item .about__history-top-item-ellipce,
    .about__history-top-item[data-item="one"] .about__history-top-item-ellipce,
    .about__history-top-item[data-item="two"] .about__history-top-item-ellipce,
    .about__history-top-item[data-item="three"] .about__history-top-item-ellipce,
    .about__history-top-item[data-item="four"] .about__history-top-item-ellipce
    {
        width: 12px;
        height: 12px;
    }

    .about__history-top-item.active .about__history-top-item-ellipce,
    .about__history-top-item.active[data-item="one"] .about__history-top-item-ellipce,
    .about__history-top-item.active[data-item="two"] .about__history-top-item-ellipce,
    .about__history-top-item.active[data-item="three"] .about__history-top-item-ellipce,
    .about__history-top-item.active[data-item="four"] .about__history-top-item-ellipce
    {
        width: 16px;
        height: 16px;
    }
    .about__history-top-item-year{
        font-size: 20px;
    }
    .about__history-top-item.active .about__history-top-item-year {
        font-size: 24px;
    }

    .slider__item-text {
        font-size: 12px;
    }

    .about__history-top-item-image {
        height: 120px;
        margin-bottom: 11px;
        align-items: flex-end;
    }

    .about__history-top-item {
        margin-left: 13px;
        margin-right: 13px;
    }

    .about__history-top-item-circle:before {
        width: calc(100% + 26px);
        left: -13px;
    }


    .about__history-facts-block-item-wrapper {
        width: 85px;
        height: 70px;
    }
    .facts__block-item-img {
        height: 20px;
    }
    .facts__block-item-img img{
        max-height: 20px;
    }
    .border__radius-top-left {
        border-radius: 20px 0px;
    }
    .border__radius-bottom-left {
        border-radius: 0px 20px;
    }

    .about__history-facts-block-title {
        font-size: 20px;
    }

    .facts__block-item-title {
        font-size: 12px;
    }

    .about__history-facts-block {
        padding-top: 14px;
        padding-bottom: 17px;
    }
    .about__history-reference-block .title{
        font-size: 24px;
    }

    .history__reference-text-title{
        font-size: 40px;
    }

}